mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 08:43:06 +00:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
40 lines
782 B
Nix
40 lines
782 B
Nix
{ 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-core
|
|
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 = "Tool helps to deploy a kubernetes cluster with Ansible";
|
|
platforms = platforms.all;
|
|
license = licenses.gpl3;
|
|
maintainers = [ ];
|
|
mainProgram = "kargo";
|
|
};
|
|
}
|