lol
1{ lib, fetchurl, python3Packages }:
2
3with python3Packages;
4
5buildPythonApplication rec {
6 version = "0.4.8";
7 pname = "kargo";
8
9 src = fetchurl {
10 url = "mirror://pypi/k/kargo/${pname}-${version}.tar.gz";
11 sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
12 };
13
14 propagatedBuildInputs = [
15 ansible-core
16 boto
17 cffi
18 cryptography
19 libcloud
20 markupsafe
21 netaddr
22 pyasn1
23 requests
24 setuptools
25 ];
26
27 checkPhase = ''
28 HOME=$TMPDIR $out/bin/kargo -v
29 '';
30
31 meta = with lib; {
32 homepage = "https://github.com/kubespray/kargo-cli";
33 description = "A tool helps to deploy a kubernetes cluster with Ansible";
34 platforms = platforms.all;
35 license = licenses.gpl3;
36 maintainers = with maintainers; [ ];
37 };
38}