2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
fetchPypi,
|
|
|
|
buildPythonPackage,
|
|
|
|
scrapy,
|
2024-09-19 14:19:46 +00:00
|
|
|
setuptools,
|
2024-06-05 15:53:02 +00:00
|
|
|
}:
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scrapy-deltafetch";
|
2021-09-23 15:35:13 +00:00
|
|
|
version = "2.0.1";
|
2024-09-19 14:19:46 +00:00
|
|
|
pyproject = true;
|
2020-06-18 07:06:33 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-09-19 14:19:46 +00:00
|
|
|
hash = "sha256-E/eWi9D/rhM+Kh3t4hXmg7jJUoXwRiYGA6XD4l8tV7A=";
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
dependencies = [ scrapy ];
|
|
|
|
|
|
|
|
build-system = [ setuptools ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "scrapy_deltafetch" ];
|
2020-06-18 07:06:33 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
meta = {
|
2020-06-18 07:06:33 +00:00
|
|
|
description = "Scrapy spider middleware to ignore requests to pages containing items seen in previous crawls";
|
|
|
|
homepage = "https://github.com/scrapy-plugins/scrapy-deltafetch";
|
2024-09-19 14:19:46 +00:00
|
|
|
license = lib.licenses.bsd3;
|
|
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
2020-06-18 07:06:33 +00:00
|
|
|
};
|
|
|
|
}
|