Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / lazr / delegates.nix
blobe0b03e6931943f3eaf63f0f007d3196137cfdabe
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , setuptools
5 , zope_interface
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "lazr-delegates";
11   version = "2.1.0";
12   pyproject = true;
14   src = fetchPypi {
15     pname = "lazr.delegates";
16     inherit version;
17     hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
18   };
20   nativeBuildInputs = [
21     setuptools
22   ];
24   propagatedBuildInputs = [
25     zope_interface
26   ];
28   pythonImportsCheck = [
29     "lazr.delegates"
30   ];
32   nativeCheckInputs = [
33     pytestCheckHook
34   ];
36   pythonNamespaces = [
37     "lazr"
38   ];
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   };