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