lol
1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyparsing
5, pytestCheckHook
6, hypothesis
7, hs-dbus-signature
8}:
9
10buildPythonPackage rec {
11 pname = "dbus-signature-pyparsing";
12 version = "0.04";
13
14 src = fetchFromGitHub {
15 owner = "stratis-storage";
16 repo = pname;
17 rev = "v${version}";
18 hash = "sha256-IXyepfq7pLTRkTolKWsKGrYDoxukVC9JTrxS9xV7s2I=";
19 };
20
21 propagatedBuildInputs = [ pyparsing ];
22 checkInputs = [
23 pytestCheckHook
24 hypothesis
25 hs-dbus-signature
26 ];
27
28 pythonImportsCheck = [ "dbus_signature_pyparsing" ];
29
30 meta = with lib; {
31 description = "A Parser for a D-Bus Signature";
32 homepage = "https://github.com/stratis-storage/dbus-signature-pyparsing";
33 license = licenses.asl20;
34 maintainers = with maintainers; [ nickcao ];
35 };
36}