Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / into-dbus-python / default.nix
blobff5da5e4592673f805f2281222cb00e9a1360ab4
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.8.2";
15   src = fetchFromGitHub {
16     owner = "stratis-storage";
17     repo = pname;
18     rev = "v${version}";
19     hash = "sha256-Ld/DyhVaDiWUXgqmvSmEHqFW2dcoRNM0O4X5DXE3UtM=";
20   };
22   propagatedBuildInputs = [
23     dbus-signature-pyparsing
24     dbus-python
25   ];
27   nativeCheckInputs = [
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   };