2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
|
|
|
pyparsing,
|
|
|
|
pytestCheckHook,
|
|
|
|
hypothesis,
|
|
|
|
hs-dbus-signature,
|
2022-09-22 12:36:57 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "dbus-signature-pyparsing";
|
2023-05-24 13:37:59 +00:00
|
|
|
version = "0.4.1";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-09-22 12:36:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "stratis-storage";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2023-05-24 13:37:59 +00:00
|
|
|
hash = "sha256-+jY8kg3jBDpZr5doih3DiyUEcSskq7TgubmW3qdBoZM=";
|
2022-09-22 12:36:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ pyparsing ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-09-22 12:36:57 +00:00
|
|
|
pytestCheckHook
|
|
|
|
hypothesis
|
|
|
|
hs-dbus-signature
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "dbus_signature_pyparsing" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Parser for a D-Bus Signature";
|
2022-09-22 12:36:57 +00:00
|
|
|
homepage = "https://github.com/stratis-storage/dbus-signature-pyparsing";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ nickcao ];
|
|
|
|
};
|
|
|
|
}
|