diff options
Diffstat (limited to 'pkgs/development/python-modules/dbus-signature-pyparsing/default.nix')
-rw-r--r-- | pkgs/development/python-modules/dbus-signature-pyparsing/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix b/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix new file mode 100644 index 0000000000000..659fcc3ed59d8 --- /dev/null +++ b/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix @@ -0,0 +1,34 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyparsing +, pytestCheckHook +, hypothesis +, hs-dbus-signature +}: + +buildPythonPackage rec { + pname = "dbus-signature-pyparsing"; + version = "0.04"; + + src = fetchFromGitHub { + owner = "stratis-storage"; + repo = pname; + rev = "v${version}"; + hash = "sha256-IXyepfq7pLTRkTolKWsKGrYDoxukVC9JTrxS9xV7s2I="; + }; + + propagatedBuildInputs = [ pyparsing ]; + checkInputs = [ + pytestCheckHook + hypothesis + hs-dbus-signature + ]; + + meta = with lib; { + description = "A Parser for a D-Bus Signature"; + homepage = "https://github.com/stratis-storage/dbus-signature-pyparsing"; + license = licenses.asl20; + maintainers = with maintainers; [ nickcao ]; + }; +} |