depot/third_party/nixpkgs/pkgs/development/python-modules/scrapy-fake-useragent/default.nix
Default email d7dbe45cea Project import generated by Copybara.
GitOrigin-RevId: 9480bae337095fd24f61380bce3174fdfe926a00
2020-06-18 09:06:33 +02:00

21 lines
567 B
Nix

{ 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;
};
}