about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/scrapy-deltafetch/default.nix
blob: 755b3f02df6586a804ff1859a48920b71bbd1cc3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchPypi, buildPythonPackage, scrapy, bsddb3 }:

buildPythonPackage rec {
  pname = "scrapy-deltafetch";
  version = "2.0.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    sha256 = "13f7968bd0ffae133e2a1dede215e683b8c95285f046260603a5c3e25f2d57b0";
  };

  propagatedBuildInputs = [ bsddb3 scrapy ];

  # no tests
  doCheck = false;
  pythonImportsCheck = [ "scrapy_deltafetch" ];

  meta = with lib; {
    description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";
    homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch";
    license = licenses.bsd3;
    maintainers = with maintainers; [ evanjs ];
  };
}