summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/configshell-fb/default.nix
blob: f8fd938781edc6c6b94a2ceb3de14d097cd24bed (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
34
35
36
37
38
39
40
41
42
43
44
{
  lib,
  fetchFromGitHub,
  buildPythonPackage,
  pythonOlder,
  hatchling,
  hatch-vcs,
  pyparsing,
}:

buildPythonPackage rec {
  pname = "configshell-fb";
  version = "2.0.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "open-iscsi";
    repo = "configshell-fb";
    tag = "v${version}";
    hash = "sha256-B5VEihg97r8BsKJdk1+LGyKb64QC+u/3ftumFXYTn6s=";
  };

  build-system = [
    hatchling
    hatch-vcs
  ];

  dependencies = [
    pyparsing
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [ "configshell" ];

  meta = {
    description = "Python library for building configuration shells";
    homepage = "https://github.com/open-iscsi/configshell-fb";
    changelog = "https://github.com/open-iscsi/configshell-fb/releases/tag/${src.tag}";
    license = lib.licenses.asl20;
    maintainers = [ ];
  };
}