1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 scrapy,
6 bsddb3,
7}:
8
9buildPythonPackage rec {
10 pname = "scrapy-deltafetch";
11 version = "2.0.1";
12 format = "setuptools";
13
14 src = fetchPypi {
15 inherit pname version;
16 sha256 = "13f7968bd0ffae133e2a1dede215e683b8c95285f046260603a5c3e25f2d57b0";
17 };
18
19 propagatedBuildInputs = [
20 bsddb3
21 scrapy
22 ];
23
24 # no tests
25 doCheck = false;
26 pythonImportsCheck = [ "scrapy_deltafetch" ];
27
28 meta = with lib; {
29 description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";
30 homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch";
31 license = licenses.bsd3;
32 maintainers = with maintainers; [ evanjs ];
33 };
34}