2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
2020-09-25 04:45:31 +00:00
|
|
|
, python3Packages
|
2020-04-24 23:36:52 +00:00
|
|
|
, salt
|
|
|
|
}:
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
python3Packages.buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "salt-pepper";
|
|
|
|
version = "0.7.5";
|
2020-09-25 04:45:31 +00:00
|
|
|
src = python3Packages.fetchPypi {
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit pname version;
|
|
|
|
sha256 = "1wh6yidwdk8jvjpr5g3azhqgsk24c5rlzmw6l86dmi0mpvmxm94w";
|
|
|
|
};
|
|
|
|
|
2020-09-25 04:45:31 +00:00
|
|
|
buildInputs = with python3Packages; [ setuptools setuptools_scm salt ];
|
|
|
|
checkInputs = with python3Packages; [
|
|
|
|
pytest mock pyzmq pytest-rerunfailures pytestcov cherrypy tornado
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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;
|
2020-09-25 04:45:31 +00:00
|
|
|
broken = true; # ModuleNotFoundError: No module named 'pytestsalt'
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|