about summary refs log tree commit diff
path: root/pkgs/development/python-modules/lazr/delegates.nix
blob: e0b03e6931943f3eaf63f0f007d3196137cfdabe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ lib
, buildPythonPackage
, fetchPypi
, setuptools
, zope_interface
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "lazr-delegates";
  version = "2.1.0";
  pyproject = true;

  src = fetchPypi {
    pname = "lazr.delegates";
    inherit version;
    hash = "sha256-UNT7iHK5UuV6SOEmEOVQ+jBm7rV8bGx1tqUUJBi6wZw=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    zope_interface
  ];

  pythonImportsCheck = [
    "lazr.delegates"
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonNamespaces = [
    "lazr"
  ];

  meta = with lib; {
    description = "Easily write objects that delegate behavior";
    homepage = "https://launchpad.net/lazr.delegates";
    changelog = "https://git.launchpad.net/lazr.delegates/tree/NEWS.rst?h=${version}";
    license = licenses.lgpl3Only;
  };
}