summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pycompliance/default.nix
blob: af1d976c0471a7b65e245f26b535443c47b3f69a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  buildPythonPackage,
  fetchFromGitHub,
  hatchling,
  lib,
  unittestCheckHook,
}:

buildPythonPackage rec {
  pname = "pycompliance";
  version = "0.0.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "rhmdnd";
    repo = "pycompliance";
    rev = version;
    hash = "sha256-gCrKbKqRDlh9q9bETQ9NEPbf+40WKF1ltfBy6LYjlVw=";
  };

  build-system = [ hatchling ];

  nativeCheckInputs = [ unittestCheckHook ];

  pythonImportsCheck = [ "pycompliance" ];

  meta = {
    description = "Simply library to represent compliance benchmarks as tree structures";
    homepage = "https://github.com/rhmdnd/pycompliance";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ tochiaha ];
  };
}