1{ lib
2, buildPythonPackage
3, fetchPypi
4, setuptools
5, zope_interface
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "lazr-delegates";
11 version = "2.1.0";
12 pyproject = true;
13
14 src = fetchPypi {
15 pname = "lazr.delegates";
16 inherit version;
17 hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
18 };
19
20 nativeBuildInputs = [
21 setuptools
22 ];
23
24 propagatedBuildInputs = [
25 zope_interface
26 ];
27
28 pythonImportsCheck = [
29 "lazr.delegates"
30 ];
31
32 nativeCheckInputs = [
33 pytestCheckHook
34 ];
35
36 pythonNamespaces = [
37 "lazr"
38 ];
39
40 meta = with lib; {
41 description = "Easily write objects that delegate behavior";
42 homepage = "https://launchpad.net/lazr.delegates";
43 changelog = "https://git.launchpad.net/lazr.delegates/tree/NEWS.rst?h=${version}";
44 license = licenses.lgpl3Only;
45 };
46}