ocamlPackages.hxd: 0.3.2 -> 0.3.3 (#364231)
[NixPkgs.git] / pkgs / development / python-modules / dbus-python-client-gen / default.nix
blob5b4bd5121d05240c099dba597bd571bbb6fb61c2
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   into-dbus-python,
6   dbus-python,
7   pytestCheckHook,
8   pythonOlder,
9 }:
11 buildPythonPackage rec {
12   pname = "dbus-python-client-gen";
13   version = "0.8.3";
14   format = "setuptools";
16   disabled = pythonOlder "3.7";
18   src = fetchFromGitHub {
19     owner = "stratis-storage";
20     repo = pname;
21     rev = "refs/tags/v${version}";
22     hash = "sha256-4Y4cL254ZlZKF6d6cStIOya3J4ZfypuumwKOdDNzuNc=";
23   };
25   propagatedBuildInputs = [
26     into-dbus-python
27     dbus-python
28   ];
30   nativeCheckInputs = [ pytestCheckHook ];
32   pythonImportsCheck = [ "dbus_python_client_gen" ];
34   meta = with lib; {
35     description = "Python library for generating dbus-python client code";
36     homepage = "https://github.com/stratis-storage/dbus-python-client-gen";
37     changelog = "https://github.com/stratis-storage/dbus-python-client-gen/blob/v${version}/CHANGES.txt";
38     license = licenses.mpl20;
39     maintainers = with maintainers; [ nickcao ];
40   };