nixpkgs/pkgs/tools/admin/salt/pepper/default.nix

27 lines
746 B
Nix
Raw Normal View History

2017-03-08 14:45:48 +00:00
{ lib
, python3Packages
2019-04-01 07:19:26 +00:00
, salt
2017-03-08 14:45:48 +00:00
}:
python3Packages.buildPythonApplication rec {
2019-04-01 07:19:26 +00:00
pname = "salt-pepper";
version = "0.7.5";
src = python3Packages.fetchPypi {
2019-04-01 07:19:26 +00:00
inherit pname version;
sha256 = "1wh6yidwdk8jvjpr5g3azhqgsk24c5rlzmw6l86dmi0mpvmxm94w";
2017-03-08 14:45:48 +00:00
};
2017-03-09 09:44:39 +00:00
buildInputs = with python3Packages; [ setuptools setuptools_scm salt ];
checkInputs = with python3Packages; [
pytest mock pyzmq pytest-rerunfailures pytestcov cherrypy tornado
2019-04-01 07:19:26 +00:00
];
2017-03-08 14:45:48 +00:00
2017-03-09 09:44:39 +00:00
meta = with lib; {
2017-03-08 14:45:48 +00:00
description = "A CLI front-end to a running salt-api system";
homepage = "https://github.com/saltstack/pepper";
2017-03-09 09:44:39 +00:00
maintainers = [ maintainers.pierrer ];
license = licenses.asl20;
broken = true; # ModuleNotFoundError: No module named 'pytestsalt'
2017-03-08 14:45:48 +00:00
};
}