nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 42 lines 842 B view raw
1{ 2 lib, 3 attrs, 4 buildPythonPackage, 5 fetchPypi, 6 hatchling, 7 pydantic, 8 pythonOlder, 9 scrapy, 10}: 11 12buildPythonPackage rec { 13 pname = "itemadapter"; 14 version = "0.13.1"; 15 pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-+hOce+KqgPiHSy8j0WXV1KpHxLhcVKtTC1Z/1faE8bQ="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 optional-dependencies = { 25 attrs = [ attrs ]; 26 pydantic = [ pydantic ]; 27 scrapy = [ scrapy ]; 28 }; 29 30 # Infinite recursion with Scrapy 31 doCheck = false; 32 33 pythonImportsCheck = [ "itemadapter" ]; 34 35 meta = { 36 description = "Common interface for data container classes"; 37 homepage = "https://github.com/scrapy/itemadapter"; 38 changelog = "https://github.com/scrapy/itemadapter/raw/v${version}/Changelog.md"; 39 license = lib.licenses.bsd3; 40 maintainers = [ ]; 41 }; 42}