Merge pull request #322071 from pyrox0/scrapy-deltafetch-fixup

python3Packages.scrapy-deltafetch: update dependencies and cleanup
This commit is contained in:
Peder Bergebakken Sundt 2024-08-03 01:16:43 +02:00 committed by GitHub
commit 81610abc16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3,32 +3,31 @@
fetchPypi,
buildPythonPackage,
scrapy,
bsddb3,
setuptools,
}:
buildPythonPackage rec {
pname = "scrapy-deltafetch";
version = "2.0.1";
format = "setuptools";
pyproject = true;
src = fetchPypi {
inherit pname version;
sha256 = "13f7968bd0ffae133e2a1dede215e683b8c95285f046260603a5c3e25f2d57b0";
hash = "sha256-E/eWi9D/rhM+Kh3t4hXmg7jJUoXwRiYGA6XD4l8tV7A=";
};
propagatedBuildInputs = [
bsddb3
scrapy
];
dependencies = [ scrapy ];
build-system = [ setuptools ];
# no tests
doCheck = false;
pythonImportsCheck = [ "scrapy_deltafetch" ];
meta = with lib; {
meta = {
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 ];
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ evanjs ];
};
}