depot/third_party/nixpkgs/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

36 lines
790 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, pytestCheckHook
, hypothesis
, hs-dbus-signature
}:
buildPythonPackage rec {
pname = "dbus-signature-pyparsing";
version = "0.4.1";
src = fetchFromGitHub {
owner = "stratis-storage";
repo = pname;
rev = "v${version}";
hash = "sha256-+jY8kg3jBDpZr5doih3DiyUEcSskq7TgubmW3qdBoZM=";
};
propagatedBuildInputs = [ pyparsing ];
nativeCheckInputs = [
pytestCheckHook
hypothesis
hs-dbus-signature
];
pythonImportsCheck = [ "dbus_signature_pyparsing" ];
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 ];
};
}