2020-07-01 10:20:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "itemadapter";
|
2020-10-11 05:20:00 +01:00
|
|
|
version = "0.1.1";
|
2020-07-01 10:20:00 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-10-11 05:20:00 +01:00
|
|
|
sha256 = "b5e75d48c769ee5c89de12aeba537b2d62d7b575cd549d5d430ed8a67faa63f2";
|
2020-07-01 10:20:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # infinite recursion with Scrapy
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "itemadapter" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Common interface for data container classes";
|
|
|
|
homepage = "https://github.com/scrapy/itemadapter";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|