1{
2 buildPythonPackage,
3 fetchFromGitHub,
4 hatchling,
5 lib,
6 unittestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pycompliance";
11 version = "0.0.1";
12 pyproject = true;
13
14 src = fetchFromGitHub {
15 owner = "rhmdnd";
16 repo = "pycompliance";
17 rev = version;
18 hash = "sha256-gCrKbKqRDlh9q9bETQ9NEPbf+40WKF1ltfBy6LYjlVw=";
19 };
20
21 build-system = [ hatchling ];
22
23 nativeCheckInputs = [ unittestCheckHook ];
24
25 pythonImportsCheck = [ "pycompliance" ];
26
27 meta = {
28 description = "Simply library to represent compliance benchmarks as tree structures";
29 homepage = "https://github.com/rhmdnd/pycompliance";
30 license = lib.licenses.asl20;
31 maintainers = with lib.maintainers; [ tochiaha ];
32 };
33}