depot/third_party/nixpkgs/pkgs/tools/admin/salt/pepper/default.nix
Default email 21cecf6002 Project import generated by Copybara.
GitOrigin-RevId: dd14e5d78e90a2ccd6007e569820de9b4861a6c2
2021-07-24 08:14:16 -04:00

26 lines
747 B
Nix

{ lib
, python3Packages
, salt
}:
python3Packages.buildPythonApplication rec {
pname = "salt-pepper";
version = "0.7.5";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1wh6yidwdk8jvjpr5g3azhqgsk24c5rlzmw6l86dmi0mpvmxm94w";
};
buildInputs = with python3Packages; [ setuptools setuptools-scm salt ];
checkInputs = with python3Packages; [
pytest mock pyzmq pytest-rerunfailures pytest-cov cherrypy tornado
];
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;
broken = true; # ModuleNotFoundError: No module named 'pytestsalt'
};
}