python3Packages.itemadapter: on older èython releases
This commit is contained in:
parent
2bcab84d10
commit
011bed457b
@ -1,25 +1,33 @@
|
||||
{ lib, buildPythonPackage, fetchPypi, isPy27 }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "itemadapter";
|
||||
version = "0.5.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = isPy27;
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-BbanndMaepk9+y6Dhqkcl+O4xs8otyVT6AjmJeC4fCA=";
|
||||
hash = "sha256-BbanndMaepk9+y6Dhqkcl+O4xs8otyVT6AjmJeC4fCA=";
|
||||
};
|
||||
|
||||
doCheck = false; # infinite recursion with Scrapy
|
||||
# Infinite recursion with Scrapy
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "itemadapter" ];
|
||||
pythonImportsCheck = [
|
||||
"itemadapter"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Common interface for data container classes";
|
||||
homepage = "https://github.com/scrapy/itemadapter";
|
||||
changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md";
|
||||
license = licenses.bsd3;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
maintainers = with maintainers; [ marsam ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user