kargo: use python3
This commit is contained in:
parent
ccbe89a14b
commit
382883a4cb
@ -1,6 +1,8 @@
|
|||||||
{ stdenv, fetchurl, python2Packages }:
|
{ stdenv, fetchurl, python3Packages }:
|
||||||
|
|
||||||
python2Packages.buildPythonApplication rec {
|
with python3Packages;
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
version = "0.4.8";
|
version = "0.4.8";
|
||||||
pname = "kargo";
|
pname = "kargo";
|
||||||
|
|
||||||
@ -9,9 +11,7 @@ python2Packages.buildPythonApplication rec {
|
|||||||
sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
|
sha256 = "1iq3vrmglag9gpsir03yz7556m0bz99nwb2mf594378cqzbr6db3";
|
||||||
};
|
};
|
||||||
|
|
||||||
doCheck = false;
|
propagatedBuildInputs = [
|
||||||
|
|
||||||
propagatedBuildInputs = with python2Packages; [
|
|
||||||
ansible
|
ansible
|
||||||
boto
|
boto
|
||||||
cffi
|
cffi
|
||||||
@ -24,12 +24,15 @@ python2Packages.buildPythonApplication rec {
|
|||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
HOME=$TMPDIR $out/bin/kargo -v
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/kubespray/kargo-cli";
|
homepage = "https://github.com/kubespray/kargo-cli";
|
||||||
description = "A tool helps to deploy a kubernetes cluster with Ansible.";
|
description = "A tool helps to deploy a kubernetes cluster with Ansible.";
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = with maintainers; [
|
maintainers = with maintainers; [ ];
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user