Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 24 lines 593 B view raw
1{ lib, buildPythonPackage, fetchPypi, isPy27 }: 2 3buildPythonPackage rec { 4 pname = "itemadapter"; 5 version = "0.2.0"; 6 7 disabled = isPy27; 8 9 src = fetchPypi { 10 inherit pname version; 11 sha256 = "cb7aaa577fefe2aa6f229ccf4d058e05f44e0178a98c8fb70ee4d95acfabb423"; 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 license = licenses.bsd3; 22 maintainers = [ maintainers.marsam ]; 23 }; 24}