2022-03-30 09:31:56 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pythonOlder
|
|
|
|
}:
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "itemadapter";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "0.6.0";
|
2022-03-30 09:31:56 +00:00
|
|
|
format = "setuptools";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
disabled = pythonOlder "3.7";
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-05-18 14:49:53 +00:00
|
|
|
hash = "sha256-Px9g69bJGwAiKCDzi/USaqSaj7bkZ9NR8DZEIflToV0=";
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
# Infinite recursion with Scrapy
|
|
|
|
doCheck = false;
|
2020-08-20 17:08:02 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
pythonImportsCheck = [
|
|
|
|
"itemadapter"
|
|
|
|
];
|
2020-08-20 17:08:02 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Common interface for data container classes";
|
|
|
|
homepage = "https://github.com/scrapy/itemadapter";
|
2021-08-22 07:53:02 +00:00
|
|
|
changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md";
|
2020-08-20 17:08:02 +00:00
|
|
|
license = licenses.bsd3;
|
2022-03-30 09:31:56 +00:00
|
|
|
maintainers = with maintainers; [ marsam ];
|
2020-08-20 17:08:02 +00:00
|
|
|
};
|
|
|
|
}
|