pythonPackages.scrapy-fake-useragent: init at 1.2.0

This commit is contained in:
Evan Stoll 2020-06-07 14:21:54 -04:00 committed by Jon
parent 091c2979ee
commit f9559836d1
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{ stdenv, fetchPypi, buildPythonPackage, pytest, fake-useragent, scrapy }:
buildPythonPackage rec {
pname = "scrapy-fake-useragent";
version = "1.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "02mayk804vdl15wjpx7jcjkc4zgrra4izf6iv00mcxq4fd4ck03l";
};
propagatedBuildInputs = [ fake-useragent ];
checkInputs = [ pytest scrapy ];
meta = with stdenv.lib; {
description = "Random User-Agent middleware based on fake-useragent";
homepage = "https://github.com/alecxe/scrapy-fake-useragent";
license = licenses.bsd3;
};
}

View file

@ -6902,6 +6902,8 @@ in {
scrapy = callPackage ../development/python-modules/scrapy { };
scrapy-fake-useragent = callPackage ../development/python-modules/scrapy-fake-useragent { };
pandocfilters = callPackage ../development/python-modules/pandocfilters { };
pandoc-attributes = callPackage ../development/python-modules/pandoc-attributes { };