aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/tools/admin/salt/pepper/default.nix
blob: e2cfa806f95b137af21ac7218116a56b1619e114 (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
{ lib
, pythonPackages
, salt
}:

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

  buildInputs = with pythonPackages; [ setuptools setuptools_scm salt ];
  checkInputs = with pythonPackages; [
    pytest mock pyzmq pytest-rerunfailures pytestcov cherrypy tornado_4
  ];

  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;
  };
}