commit ceea9159b6d371d585d05d1bb53a5fa360a95753
parent fe5e68c9048ec1960275db2df8ddd5bb76c0eb0f
Author: Vincent Demeester <vincent@sbr.pm>
Date: Mon, 1 Jun 2020 15:20:39 +0200
pkgs: migrate from modSha256 to vendorSha256 ๐ฝ
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
15 files changed, 32 insertions(+), 17 deletions(-)
diff --git a/pkgs/ape/default.nix b/pkgs/ape/default.nix
@@ -11,7 +11,8 @@ buildGoModule rec {
repo = "ape";
sha256 = "1kh7fi7j65cd8qi5qis38bla4lzbzy0ic18cxcjnd04q1zjqzi2i";
};
- modSha256 = "1zanxsbxhm0dpk2q94fp2rx2x1i8r3j28piz86k3k4vvqnykyvj1";
+ vendorSha256 = "1zanxsbxhm0dpk2q94fp2rx2x1i8r3j28piz86k3k4vvqnykyvj1";
+ modSha256 = "${vendorSha256}";
meta = {
description = "a git mirror *upstream* updater ";
diff --git a/pkgs/athens/default.nix b/pkgs/athens/default.nix
@@ -14,7 +14,8 @@ buildGoModule rec {
repo = "athens";
sha256 = "16ilzxmpwarf0c7195bfqn3ir3s6dkqma4bhjx57amswmkjjrqfp";
};
- modSha256 = "0nad3k01a58xj21sj4m0ydv5m64w3klkgzbdvbx9szy298wq1w18";
+ vendorSha256 = "0nad3k01a58xj21sj4m0ydv5m64w3klkgzbdvbx9szy298wq1w18";
+ modSha256 = "${vendorSha256}";
meta = {
description = "a Go module datastore and proxy";
diff --git a/pkgs/crc/default.nix b/pkgs/crc/default.nix
@@ -69,7 +69,8 @@ rec {
rev = "0.12.7";
sha256 = "1mv6wqyzsc24y2gnw0nxmiy52sf3lgfnqkq98v8jdvq3fn6lgacm";
};
- modSha256 = "04nnmsvillavcq1wfjc38r7hgq1mx0zhp4anz6q1j78rdcd6aigy";
+ vendorSha256 = "04nnmsvillavcq1wfjc38r7hgq1mx0zhp4anz6q1j78rdcd6aigy";
+ modSha256 = "${vendorSha256}";
};
}
diff --git a/pkgs/gogo-protobuf/default.nix b/pkgs/gogo-protobuf/default.nix
@@ -28,6 +28,7 @@ buildGoModule rec {
repo = "protobuf";
sha256 = "0x77x64sxjgfhmbijqfzmj8h4ar25l2w97h01q3cqs1wk7zfnkhp";
};
- modSha256 = "0vkpqdd4x97cl3dm79mh1vic1ir4i20wv9q52sn13vr0b3kja0qy";
+ vendorSha256 = "0vkpqdd4x97cl3dm79mh1vic1ir4i20wv9q52sn13vr0b3kja0qy";
+ modSha256 = "${vendorSha256}";
}
diff --git a/pkgs/govanityurl/default.nix b/pkgs/govanityurl/default.nix
@@ -10,5 +10,6 @@ buildGoModule rec {
rev = "v${version}";
sha256 = "05cj3760z3b7z6schp85hfmirfzwkgnx6big0b8j6d8wn9nls1zc";
};
- modSha256 = "0s99bp9g1rfgrxmh9i94p2h8p68q93fk2799ifxd76r88f0f0hcn";
+ vendorSha256 = "0s99bp9g1rfgrxmh9i94p2h8p68q93fk2799ifxd76r88f0f0hcn";
+ modSha256 = "${vendorSha256}";
}
diff --git a/pkgs/krew/default.nix b/pkgs/krew/default.nix
@@ -13,7 +13,8 @@ buildGoModule rec {
repo = "krew";
sha256 = "0n10kpr2v9jzkz4lxrf1vf9x5zql73r5q1f1llwvjw6mb3xyn6ij";
};
- modSha256 = "01sgzi6cfdx2p1mbfbcxh8vivrj79qmzsflah9n6j5favn8sqsl3";
+ vendorSha256 = "01sgzi6cfdx2p1mbfbcxh8vivrj79qmzsflah9n6j5favn8sqsl3";
+ modSha256 = "${vendorSha256}";
meta = {
description = "The package manager for 'kubectl plugins. ";
diff --git a/pkgs/nr/default.nix b/pkgs/nr/default.nix
@@ -11,7 +11,8 @@ buildGoModule rec {
repo = "nr";
sha256 = "1n6plmypw6iz0q1gs4i8rwsmkvx0bwgzpzmrr4qirpfpcyb4av2z";
};
- modSha256 = "17cz2gahs1j9vd9nqg36q2q04xq24gd2pyvivxkjhqgmq2fcpl17";
+ vendorSha256 = "17cz2gahs1j9vd9nqg36q2q04xq24gd2pyvivxkjhqgmq2fcpl17";
+ modSha256 = "${vendorSha256}";
meta = {
description = "a nix run alias generator";
diff --git a/pkgs/operator-sdk/default.nix b/pkgs/operator-sdk/default.nix
@@ -5,11 +5,11 @@ rec {
operatorSdkGen =
{ version
, sha256
- , modSha256
+ , vendorSha256
}:
buildGoModule rec {
- inherit modSha256;
+ inherit vendorSha256;
pname = "operator-sdk";
name = "${pname}-${version}";
rev = "v${version}";
@@ -31,6 +31,7 @@ rec {
repo = "operator-sdk";
sha256 = "${sha256}";
};
+ modSha256 = "${vendorSha256}";
postInstall = ''
# completions
@@ -50,11 +51,11 @@ rec {
operator-sdk_0_16 = makeOverridable operatorSdkGen {
version = "0.16.0";
sha256 = "1qdvnfxz81ij1y7qdk5xjq0nd3dqgbdjq0gmramxmkkz892cdaf3";
- modSha256 = "11nz0fdxpsc9ifszprgp1l70myhadh90hcs94cilrpqwlci0i8c5";
+ vendorSha256 = "11nz0fdxpsc9ifszprgp1l70myhadh90hcs94cilrpqwlci0i8c5";
};
operator-sdk_0_17 = makeOverridable operatorSdkGen {
version = "0.17.0";
sha256 = "11mirwgmmhfccv1knxvf2pv51pisngw5lb8vpcbzi5v2lm192aqk";
- modSha256 = "0mspbnw41c6r3p7kaafza1v10zi4jv0vrnzxwpyh7pkmx150xgvd";
+ vendorSha256 = "0mspbnw41c6r3p7kaafza1v10zi4jv0vrnzxwpyh7pkmx150xgvd";
};
}
diff --git a/pkgs/prm/default.nix b/pkgs/prm/default.nix
@@ -20,7 +20,8 @@ buildGoModule rec {
repo = "prm";
sha256 = "0biqr091yxpmq6z2pw6xnzilqa3cbkryj4rc7gqc7dvp24farr1h";
};
- modSha256 = "1vdq07ml5s5anbkybwx08s1j3dssv4c1pdkp8dcbarlp07d5y7n1";
+ vendorSha256 = "1vdq07ml5s5anbkybwx08s1j3dssv4c1pdkp8dcbarlp07d5y7n1";
+ modSha256 = "${vendorSha256}";
meta = {
description = "Pull Request Manager for Maintainers";
diff --git a/pkgs/protobuild/default.nix b/pkgs/protobuild/default.nix
@@ -12,7 +12,8 @@ buildGoModule rec {
repo = "protobuild";
sha256 = "0v3biryf56hscg7s8mm9ds8zypajb976z6x4xlhx1852wz6vqfxh";
};
- modSha256 = "19wazsl2k8563k96w75lcfdvvz4k5l5kg8inbm1hkh1h0knnzh8r";
+ vendorSha256 = "19wazsl2k8563k96w75lcfdvvz4k5l5kg8inbm1hkh1h0knnzh8r";
+ modSha256 = "${vendorSha256}";
meta = {
description = "Build protobufs in Go, easily";
diff --git a/pkgs/ram/default.nix b/pkgs/ram/default.nix
@@ -11,7 +11,8 @@ buildGoModule rec {
repo = "ram";
sha256 = "1lnxscq6lfli09yq5raj2gyg7fss4a8m99nd6f1izm84xn0n0lji";
};
- modSha256 = "1rynwivgc9ilsixri8vcxss20j8wpns1jw9g0k37lgdqx88wpl9y";
+ vendorSha256 = "1rynwivgc9ilsixri8vcxss20j8wpns1jw9g0k37lgdqx88wpl9y";
+ modSha256 = "${vendorSha256}";
meta = {
description = "A golang opiniated continuous testing tool ๐";
diff --git a/pkgs/rmapi/default.nix b/pkgs/rmapi/default.nix
@@ -13,7 +13,8 @@ buildGoModule rec {
repo = "rmapi";
sha256 = "0zks1pcj2s2pqkmw0hhm41vgdhfgj2r6dmvpsagbmf64578ww349";
};
- modSha256 = "0w2qiafs5gkgv00yz16bx8yis6gnpxbgqliwrhj5k6z8yy9s7b17";
+ vendorSha256 = "0w2qiafs5gkgv00yz16bx8yis6gnpxbgqliwrhj5k6z8yy9s7b17";
+ modSha256 = "${vendorSha256}";
meta = {
description = "Go app that allows you to access your reMarkable tablet files through the Cloud API";
diff --git a/pkgs/sec/default.nix b/pkgs/sec/default.nix
@@ -11,7 +11,8 @@ buildGoModule rec {
repo = "sec";
sha256 = "01xmvycdbyvcjsd1pvbd2qjn4ij99pyyw9sasyffhw0bxfnpcvyq";
};
- modSha256 = "1b8zis0hv32sh51s01n3z3nd20ayfcj4vv3m943r8d0gqd7hj7zw";
+ vendorSha256 = "1b8zis0hv32sh51s01n3z3nd20ayfcj4vv3m943r8d0gqd7hj7zw";
+ modSha256 = "${vendorSha256}";
meta = {
description = "Sec ยง โ a golang opiniated dependency updater";
diff --git a/pkgs/tkn/default.nix b/pkgs/tkn/default.nix
@@ -21,6 +21,7 @@ rec {
sha256 = "${sha256}";
};
modSha256 = "${modSha}";
+ vendorSha256 = "${modSha}";
postInstall = ''
# manpages
diff --git a/tools/bus/default.nix b/tools/bus/default.nix
@@ -4,5 +4,6 @@ buildGoModule rec {
name = "bus";
src = ./.;
- modSha256 = "1633qy8a24pacr337v20ws12p3wgr2kf7q2mymar90qrq301wfnx";
+ vendorSha256 = "1633qy8a24pacr337v20ws12p3wgr2kf7q2mymar90qrq301wfnx";
+ modSha256 = "${vendorSha256}";
}