depot/third_party/nixpkgs/pkgs/tools/admin/salt/pepper/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
672 B
Nix

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