diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-06-08 13:45:50 -0700 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2020-06-11 10:00:27 +0200 |
commit | 382883a4cb1cb3c0f71bdfb7cf4d52bf2a0118bd (patch) | |
tree | 0f9593e547a8842139f5459c0cccf36702878109 /pkgs/tools/misc/kargo | |
parent | ccbe89a14b5318954a4ab22f29efd5feac0524ef (diff) |
kargo: use python3
Diffstat (limited to 'pkgs/tools/misc/kargo')
-rw-r--r-- | pkgs/tools/misc/kargo/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/tools/misc/kargo/default.nix b/pkgs/tools/misc/kargo/default.nix index bcc19770155d5..eb9805b22d806 100644 --- a/pkgs/tools/misc/kargo/default.nix +++ b/pkgs/tools/misc/kargo/default.nix @@ -1,6 +1,8 @@ -{ stdenv, fetchurl, python2Packages }: +{ stdenv, fetchurl, python3Packages }: -python2Packages.buildPythonApplication rec { +with python3Packages; + +buildPythonApplication rec { version = "0.4.8"; pname = "kargo"; @@ -9,9 +11,7 @@ python2Packages.buildPythonApplication rec { sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3"; }; - doCheck = false; - - propagatedBuildInputs = with python2Packages; [ + propagatedBuildInputs = [ ansible boto cffi @@ -24,12 +24,15 @@ python2Packages.buildPythonApplication rec { setuptools ]; + checkPhase = '' + HOME=$TMPDIR $out/bin/kargo -v + ''; + meta = with stdenv.lib; { homepage = "https://github.com/kubespray/kargo-cli"; description = "A tool helps to deploy a kubernetes cluster with Ansible."; platforms = platforms.linux; license = licenses.gpl3; - maintainers = with maintainers; [ - ]; + maintainers = with maintainers; [ ]; }; } |