159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
33 lines
722 B
Nix
33 lines
722 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
buildPythonPackage,
|
|
scrapy,
|
|
setuptools,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "scrapy-deltafetch";
|
|
version = "2.0.1";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-E/eWi9D/rhM+Kh3t4hXmg7jJUoXwRiYGA6XD4l8tV7A=";
|
|
};
|
|
|
|
dependencies = [ scrapy ];
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "scrapy_deltafetch" ];
|
|
|
|
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 = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ evanjs ];
|
|
};
|
|
}
|