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.0";
13 pyproject = true;
14
15 src = fetchPypi {
16 pname = "lazr.delegates";
17 inherit version;
18 hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
19 };
20
21 nativeBuildInputs = [ setuptools ];
22
23 propagatedBuildInputs = [ zope-interface ];
24
25 pythonImportsCheck = [ "lazr.delegates" ];
26
27 nativeCheckInputs = [ pytestCheckHook ];
28
29 pythonNamespaces = [ "lazr" ];
30
31 meta = with lib; {
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 = licenses.lgpl3Only;
36 };
37}