1{ lib, buildPythonPackage, fetchPypi, isPy27 }: 2 3buildPythonPackage rec { 4 pname = "itemadapter"; 5 version = "0.4.0"; 6 7 disabled = isPy27; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "f05df8da52619da4b8c7f155d8a15af19083c0c7ad941d8c1de799560ad994ca"; 12 }; 13 14 doCheck = false; # infinite recursion with Scrapy 15 16 pythonImportsCheck = [ "itemadapter" ]; 17 18 meta = with lib; { 19 description = "Common interface for data container classes"; 20 homepage = "https://github.com/scrapy/itemadapter"; 21 changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md"; 22 license = licenses.bsd3; 23 maintainers = [ maintainers.marsam ]; 24 }; 25}