nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 858 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 setuptools, 6}: 7 8buildPythonPackage rec { 9 pname = "zope-interface"; 10 version = "8.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "zopefoundation"; 15 repo = "zope.interface"; 16 tag = version; 17 hash = "sha256-hOcg41lcdVWfmT2DqaYzzu4bJZYiG2y5boylJevBv6k="; 18 }; 19 20 build-system = [ setuptools ]; 21 22 pythonImportsCheck = [ "zope.interface" ]; 23 24 doCheck = false; # Circular deps. 25 26 pythonNamespaces = [ "zope" ]; 27 28 meta = { 29 changelog = "https://github.com/zopefoundation/zope.interface/blob/${src.tag}/CHANGES.rst"; 30 description = "Implementation of object interfaces, a mechanism for labeling objects as conforming to a given API or contract"; 31 homepage = "https://github.com/zopefoundation/zope.interface"; 32 license = lib.licenses.zpl21; 33 maintainers = [ ]; 34 }; 35}