aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/scrapy-fake-useragent/default.nix
blob: d3bf05b09655f33afe753dfb6b79dbd3562c00bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchPypi, buildPythonPackage, pytest, fake-useragent, scrapy }:

buildPythonPackage rec {
  pname = "scrapy-fake-useragent";
  version = "1.4.4";

  src = fetchPypi {
    inherit pname version;
    sha256 = "3b17e982e646918dc25080da0672812d07bfb7a92a58377c014c74e0182c665e";
  };

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