zerotierone: 1.12.2 -> 1.14.0 (#309343)
https://github.com/zerotier/ZeroTierOne/releases/tag/1.14.0 https://github.com/zerotier/ZeroTierOne/compare/1.12.2...1.14.0 https://github.com/zerotier/ZeroTierOne/blob/1.14.0/RELEASE-NOTES.md
This commit is contained in:
+2187
-307
File diff suppressed because it is too large
Load Diff
@@ -14,13 +14,13 @@
|
||||
|
||||
let
|
||||
pname = "zerotierone";
|
||||
version = "1.12.2";
|
||||
version = "1.14.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "zerotier";
|
||||
repo = "ZeroTierOne";
|
||||
rev = version;
|
||||
sha256 = "sha256-p0zrYgbHTLefj5GTrMnYLytCXZ/nRuqTL+6dEeC+uVw=";
|
||||
sha256 = "sha256-YWcqALUB3ZEukL4er2FKcyNdEbuaf//QU5hRbKAfxDA=";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
@@ -30,13 +30,14 @@ in stdenv.mkDerivation {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"jwt-0.16.0" = "sha256-P5aJnNlcLe9sBtXZzfqHdRvxNfm6DPBcfcKOVeLZxcM=";
|
||||
"rustfsm-0.1.0" = "sha256-q7J9QgN67iuoNhQC8SDVzUkjCNRXGiNCkE8OsQc5+oI=";
|
||||
};
|
||||
};
|
||||
postPatch = "cp ${./Cargo.lock} Cargo.lock";
|
||||
|
||||
preConfigure = ''
|
||||
cmp ./Cargo.lock ./zeroidc/Cargo.lock || {
|
||||
echo 1>&2 "Please make sure that the derivation's Cargo.lock is identical to ./zeroidc/Cargo.lock!"
|
||||
cmp ./Cargo.lock ./rustybits/Cargo.lock || {
|
||||
echo 1>&2 "Please make sure that the derivation's Cargo.lock is identical to ./rustybits/Cargo.lock!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
|
||||
version=$(curl --silent "https://api.github.com/repos/zerotier/ZeroTierOne/releases" | jq '.[0].tag_name' --raw-output)
|
||||
|
||||
curl --silent "https://raw.githubusercontent.com/zerotier/ZeroTierOne/$version/zeroidc/Cargo.lock" > "$(dirname "$0")/Cargo.lock"
|
||||
curl --silent "https://raw.githubusercontent.com/zerotier/ZeroTierOne/$version/rustybits/Cargo.lock" > "$(dirname "$0")/Cargo.lock"
|
||||
update-source-version zerotierone "$version"
|
||||
|
||||
Reference in New Issue
Block a user