1{ lib 2, buildPythonPackage 3, fetchPypi 4, pythonOlder 5}: 6 7buildPythonPackage rec { 8 pname = "itemadapter"; 9 version = "0.8.0"; 10 format = "setuptools"; 11 12 disabled = pythonOlder "3.7"; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-d3WEhfsKwQcw1LExNj431ly42yRQv+x6V8PzJx9KSKk="; 17 }; 18 19 # Infinite recursion with Scrapy 20 doCheck = false; 21 22 pythonImportsCheck = [ 23 "itemadapter" 24 ]; 25 26 meta = with lib; { 27 description = "Common interface for data container classes"; 28 homepage = "https://github.com/scrapy/itemadapter"; 29 changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md"; 30 license = licenses.bsd3; 31 maintainers = with maintainers; [ marsam ]; 32 }; 33}