1{ stdenv, fetchurl, python2Packages, ansible2 }:
2
3python2Packages.buildPythonApplication rec {
4 version = "0.4.6";
5 name = "kargo-${version}";
6
7 src = fetchurl {
8 url = "mirror://pypi/k/kargo/${name}.tar.gz";
9 sha256 = "1sm721c3d4scpc1gj2j3qwssr6jjvw6aq3p7ipvhbd9ywmm9dd7b";
10 };
11
12 doCheck = false;
13
14 propagatedBuildInputs = with python2Packages; [
15 ansible2
16 boto
17 cffi
18 cryptography
19 libcloud
20 markupsafe
21 netaddr
22 pyasn1
23 requests
24 setuptools
25 ];
26
27 meta = with stdenv.lib; {
28 homepage = https://github.com/kubespray/kargo-cli;
29 description = "A tool helps to deploy a kubernetes cluster with Ansible.";
30 platforms = platforms.linux;
31 license = licenses.gpl3;
32 maintainers = with maintainers; [
33 jgeerds
34 ];
35 };
36}