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

26 lines
670 B
Nix
Raw Normal View History

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