Merge branch 'staging-next' into staging

This commit is contained in:
Jan Tojnar
2020-08-23 02:18:27 +02:00
516 changed files with 15983 additions and 9551 deletions
+17 -12
View File
@@ -1,7 +1,22 @@
{ python3Packages, fetchurl }:
{ python3Packages, fetchurl, fetchFromGitHub }:
rec {
ansible = ansible_2_9;
ansible = ansible_2_10;
# The python module stays at v2.9.x until the related package set has caught up. Therefore v2.10 gets an override
# for now.
ansible_2_10 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.10.0";
# TODO: migrate to fetchurl, when release becomes available on releases.ansible.com
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
sha256 = "0k9rs5ajx0chaq0xr1cj4x7fr5n8kd4y856miss6k01iv2m7yx42";
};
}));
ansible_2_9 = python3Packages.toPythonApplication python3Packages.ansible;
@@ -14,14 +29,4 @@ rec {
sha256 = "19ga0c9qs2b216qjg5k2yknz8ksjn8qskicqspg2d4b8x2nr1294";
};
}));
ansible_2_7 = python3Packages.toPythonApplication (python3Packages.ansible.overridePythonAttrs (old: rec {
pname = "ansible";
version = "2.7.18";
src = fetchurl {
url = "https://releases.ansible.com/ansible/${pname}-${version}.tar.gz";
sha256 = "0sgshaaqyjq3i035yi5hivmrrwrq05hxrbjrv1w3hfzmvljn41d1";
};
}));
}
@@ -21,7 +21,10 @@ let
});
overrideAzureMgmtPackage = package: version: extension: sha256:
package.overrideAttrs(oldAttrs: rec {
# check to make sure overriding is even necessary
if version == package.version then
package
else package.overrideAttrs(oldAttrs: rec {
inherit version;
src = py.pkgs.fetchPypi {
+28
View File
@@ -0,0 +1,28 @@
{ buildGoModule, lib, fetchFromGitHub }:
buildGoModule rec {
pname = "chamber";
version = "2.8.2";
src = fetchFromGitHub {
owner = "segmentio";
repo = pname;
rev = "v${version}";
sha256 = "sha256-7L9RaE4LvHRR6MUimze5QpbnfasWJdY4arfS/Usy2q0=";
};
vendorSha256 = null;
# set the version. see: chamber's Makefile
buildFlagsArray = ''
-ldflags=
-X main.Version=v${version}
'';
meta = with lib; {
description =
"Chamber is a tool for managing secrets by storing them in AWS SSM Parameter Store.";
homepage = "https://github.com/segmentio/chamber";
license = licenses.mit;
maintainers = with maintainers; [ kalekseev ];
};
}
+2 -2
View File
@@ -2,13 +2,13 @@
buildGoPackage rec {
pname = "exoscale-cli";
version = "1.16.0";
version = "1.16.1";
src = fetchFromGitHub {
owner = "exoscale";
repo = "cli";
rev = "v${version}";
sha256 = "0w0lgc3db9r1knd7hp98ycxfbfxbpfrb0vf4vxcqxlvlkjcrvg1z";
sha256 = "0616nvqrcvn2xdmnkr5sjf1r5qg30b24ry87hhiqi4kz9a92qdx5";
};
goPackagePath = "github.com/exoscale/cli";
@@ -21,18 +21,18 @@ let
sources = name: system: {
x86_64-darwin = {
url = "${baseUrl}/${name}-darwin-x86_64.tar.gz";
sha256 = "1b9pm0k298w7scsi493a2xlikiqqbb8vwcy9j71421kyvlj4g7yr";
sha256 = "1l2r9pgyzih7xgrr2ygm0mcl97kyp1wfvybwhbn1i0kbb72nagk1";
};
x86_64-linux = {
url = "${baseUrl}/${name}-linux-x86_64.tar.gz";
sha256 = "1f6kkcwxg419kw58521n4ms68hspx7mj87syj4xzxdwgkwg92ws7";
sha256 = "1qbkdfa7dzysp7crv9ph476hbabl3qiszs067f20dadqssqs1v4r";
};
}.${system};
in stdenv.mkDerivation rec {
pname = "google-cloud-sdk";
version = "301.0.0";
version = "306.0.0";
src = fetchurl (sources "${pname}-${version}" stdenv.hostPlatform.system);