diff --git a/pkgs/development/python-modules/into-dbus-python/default.nix b/pkgs/development/python-modules/into-dbus-python/default.nix new file mode 100644 index 000000000000..1d893cd69692 --- /dev/null +++ b/pkgs/development/python-modules/into-dbus-python/default.nix @@ -0,0 +1,38 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, dbus-signature-pyparsing +, dbus-python +, pytestCheckHook +, hypothesis +, hs-dbus-signature +}: + +buildPythonPackage rec { + pname = "into-dbus-python"; + version = "0.08"; + + src = fetchFromGitHub { + owner = "stratis-storage"; + repo = pname; + rev = "v${version}"; + hash = "sha256-Z8e6oAvRMIisMjG4HcS5jSH1znGVc7pGpMITo5fXYVs="; + }; + + propagatedBuildInputs = [ + dbus-signature-pyparsing + dbus-python + ]; + checkInputs = [ + pytestCheckHook + hypothesis + hs-dbus-signature + ]; + + meta = with lib; { + description = "A transformer to dbus-python types"; + homepage = "https://github.com/stratis-storage/into-dbus-python"; + license = licenses.asl20; + maintainers = with maintainers; [ nickcao ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 1b7caca0f253..e56dd1762cf1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4524,6 +4524,8 @@ in { intervaltree = callPackage ../development/python-modules/intervaltree { }; + into-dbus-python = callPackage ../development/python-modules/into-dbus-python { }; + intreehooks = callPackage ../development/python-modules/intreehooks { }; invocations = callPackage ../development/python-modules/invocations { };