summary refs log tree commit diff
path: root/pkgs/tools/misc/kargo/default.nix
blob: 34b93403487c51007eade1b96a7f6d330a21c094 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib, fetchurl, python3Packages }:

with python3Packages;

buildPythonApplication rec {
  version = "0.4.8";
  pname = "kargo";

  src = fetchurl {
    url = "mirror://pypi/k/kargo/${pname}-${version}.tar.gz";
    sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
  };

  propagatedBuildInputs = [
    ansible
    boto
    cffi
    cryptography
    libcloud
    markupsafe
    netaddr
    pyasn1
    requests
    setuptools
  ];

  checkPhase = ''
    HOME=$TMPDIR $out/bin/kargo -v
  '';

  meta = with lib; {
    homepage = "https://github.com/kubespray/kargo-cli";
    description = "A tool helps to deploy a kubernetes cluster with Ansible";
    platforms = platforms.all;
    license = licenses.gpl3;
    maintainers = with maintainers; [ ];
  };
}