depot/third_party/nixpkgs/pkgs/development/python-modules/dbus-signature-pyparsing/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

37 lines
815 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, pytestCheckHook
, hypothesis
, hs-dbus-signature
}:
buildPythonPackage rec {
pname = "dbus-signature-pyparsing";
version = "0.4.1";
format = "setuptools";
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 ];
};
}