nixpkgs/pkgs/tools/misc/kargo/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
775 B
Nix
Raw Normal View History

{ lib, fetchurl, python3Packages }:
2016-10-25 09:44:41 +00:00
2020-06-08 20:45:50 +00:00
with python3Packages;
buildPythonApplication rec {
2020-03-31 02:19:00 +00:00
version = "0.4.8";
2019-08-31 11:41:23 +00:00
pname = "kargo";
2016-10-25 09:44:41 +00:00
src = fetchurl {
2019-08-31 11:41:23 +00:00
url = "mirror://pypi/k/kargo/${pname}-${version}.tar.gz";
2020-03-31 02:19:00 +00:00
sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
2016-10-25 09:44:41 +00:00
};
2020-06-08 20:45:50 +00:00
propagatedBuildInputs = [
2022-04-26 09:24:04 +00:00
ansible-core
2016-10-25 09:44:41 +00:00
boto
cffi
cryptography
libcloud
markupsafe
netaddr
pyasn1
requests
2016-10-25 09:44:41 +00:00
setuptools
];
2020-06-08 20:45:50 +00:00
checkPhase = ''
HOME=$TMPDIR $out/bin/kargo -v
'';
meta = with lib; {
2020-03-31 02:19:00 +00:00
homepage = "https://github.com/kubespray/kargo-cli";
description = "A tool helps to deploy a kubernetes cluster with Ansible";
2021-03-22 08:55:48 +00:00
platforms = platforms.all;
2016-10-25 09:44:41 +00:00
license = licenses.gpl3;
2020-06-08 20:45:50 +00:00
maintainers = with maintainers; [ ];
2016-10-25 09:44:41 +00:00
};
}