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

27 lines
747 B
Nix
Raw Normal View History

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