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