2020-07-01 10:20:00 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "itemadapter";
|
2020-11-10 16:16:39 +00:00
|
|
|
version = "0.2.0";
|
2020-07-01 10:20:00 +01:00
|
|
|
|
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-11-10 16:16:39 +00:00
|
|
|
sha256 = "cb7aaa577fefe2aa6f229ccf4d058e05f44e0178a98c8fb70ee4d95acfabb423";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|