2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchurl, python3Packages }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
with python3Packages;
|
|
|
|
|
|
|
|
buildPythonApplication rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
version = "0.4.8";
|
|
|
|
pname = "kargo";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/k/kargo/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
|
|
|
|
};
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
propagatedBuildInputs = [
|
2022-04-27 09:35:20 +00:00
|
|
|
ansible-core
|
2020-04-24 23:36:52 +00:00
|
|
|
boto
|
|
|
|
cffi
|
|
|
|
cryptography
|
|
|
|
libcloud
|
|
|
|
markupsafe
|
|
|
|
netaddr
|
|
|
|
pyasn1
|
|
|
|
requests
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2020-06-15 15:56:04 +00:00
|
|
|
checkPhase = ''
|
|
|
|
HOME=$TMPDIR $out/bin/kargo -v
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/kubespray/kargo-cli";
|
2020-10-19 00:13:06 +00:00
|
|
|
description = "A tool helps to deploy a kubernetes cluster with Ansible";
|
2021-03-23 19:22:30 +00:00
|
|
|
platforms = platforms.all;
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl3;
|
2020-06-15 15:56:04 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|