Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 22 lines 640 B view raw
1{ stdenv, fetchPypi, buildPythonPackage, pytest, scrapy, bsddb3 }: 2 3buildPythonPackage rec { 4 pname = "scrapy-deltafetch"; 5 version = "1.2.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "1m511psddvlapg492ny36l8rzy7z4i39yx6a1agxzfz6s9b83fq8"; 10 }; 11 12 propagatedBuildInputs = [ bsddb3 scrapy ]; 13 14 checkInputs = [ pytest ]; 15 16 meta = with stdenv.lib; { 17 description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls"; 18 homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch"; 19 license = licenses.bsd3; 20 maintainers = with maintainers; [ evanjs ]; 21 }; 22}