about summary refs log tree commit diff
path: root/pkgs/development/python-modules/hs-dbus-signature/default.nix
blob: 9b96788589517046cd3e96b0ba899cdee3c55dd3 (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
{ lib
, buildPythonPackage
, fetchPypi
, pytestCheckHook
, hypothesis
}:

buildPythonPackage rec {
  pname = "hs-dbus-signature";
  version = "0.7";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-NNnTcSX+K8zU+sj1QBd13h7aEXN9VqltJMNWCuhgZ6I=";
  };

  nativeCheckInputs = [
    pytestCheckHook
    hypothesis
  ];

  pythonImportsCheck = [ "hs_dbus_signature" ];

  meta = with lib; {
    description = "A Hypothesis Strategy for Generating Arbitrary DBus Signatures";
    homepage = "https://github.com/stratis-storage/hs-dbus-signature";
    license = licenses.mpl20;
    maintainers = with maintainers; [ nickcao ];
  };
}