1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 zope-interface, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "lazr-delegates"; 12 version = "2.1.1"; 13 pyproject = true; 14 15 src = fetchPypi { 16 pname = "lazr_delegates"; 17 inherit version; 18 hash = "sha256-rs6yYW5Rtz8yf78SxOwrfXZwy4IL1eT2hRIV+3lsAtw="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 dependencies = [ zope-interface ]; 24 25 pythonImportsCheck = [ "lazr.delegates" ]; 26 27 nativeCheckInputs = [ pytestCheckHook ]; 28 29 pythonNamespaces = [ "lazr" ]; 30 31 meta = { 32 description = "Easily write objects that delegate behavior"; 33 homepage = "https://launchpad.net/lazr.delegates"; 34 changelog = "https://git.launchpad.net/lazr.delegates/tree/NEWS.rst?h=${version}"; 35 license = lib.licenses.lgpl3Only; 36 }; 37}