summary refs log tree commit diff
path: root/pkgs/tools/admin/salt/pepper/default.nix
blob: 25d3eaa15fc8047d2f37f9dd32840ae6d24c5429 (plain) (blame)
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
{ lib
, python3Packages
, salt
}:

python3Packages.buildPythonApplication rec {
  pname = "salt-pepper";
  version = "0.7.5";
  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "1wh6yidwdk8jvjpr5g3azhqgsk24c5rlzmw6l86dmi0mpvmxm94w";
  };

  buildInputs = with python3Packages; [ setuptools setuptools-scm salt ];
  checkInputs = with python3Packages; [
    pytest mock pyzmq pytest-rerunfailures pytestcov cherrypy tornado
  ];

  meta = with lib; {
    description = "A CLI front-end to a running salt-api system";
    homepage = "https://github.com/saltstack/pepper";
    maintainers = [ maintainers.pierrer ];
    license = licenses.asl20;
    broken = true; # ModuleNotFoundError: No module named 'pytestsalt'
  };
}