ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / into-dbus-python / default.nix
blob5ef92cf216a5f377bc36f017029d25204f332eaf
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , dbus-signature-pyparsing
5 , dbus-python
6 , pytestCheckHook
7 , hypothesis
8 , hs-dbus-signature
9 }:
11 buildPythonPackage rec {
12   pname = "into-dbus-python";
13   version = "0.08";
15   src = fetchFromGitHub {
16     owner = "stratis-storage";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-Z8e6oAvRMIisMjG4HcS5jSH1znGVc7pGpMITo5fXYVs=";
20   };
22   propagatedBuildInputs = [
23     dbus-signature-pyparsing
24     dbus-python
25   ];
27   checkInputs = [
28     pytestCheckHook
29     hypothesis
30     hs-dbus-signature
31   ];
33   pythonImportsCheck = [ "into_dbus_python" ];
35   meta = with lib; {
36     description = "A transformer to dbus-python types";
37     homepage = "https://github.com/stratis-storage/into-dbus-python";
38     license = licenses.asl20;
39     maintainers = with maintainers; [ nickcao ];
40   };