tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wire-desktop: Add versions.json to enable updateScript
toonn
10 months ago
d7b5e1a9
d3f5b059
+18
-12
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
wi
wire-desktop
package.nix
versions.json
+8
-12
pkgs/by-name/wi/wire-desktop/package.nix
···
26
27
pname = "wire-desktop";
28
0
0
29
version =
30
-
let
31
-
x86_64-darwin = "3.39.5211";
32
-
in
33
{
34
-
inherit x86_64-darwin;
35
-
aarch64-darwin = x86_64-darwin;
36
-
x86_64-linux = "3.39.3653";
37
}
38
.${system} or throwSystem;
39
40
hash =
41
-
let
42
-
x86_64-darwin = "sha256-k6CIqHt67AFL70zdK0/91aQcpbb00OIggk5TF7y1IOY=";
43
-
in
44
{
45
-
inherit x86_64-darwin;
46
-
aarch64-darwin = x86_64-darwin;
47
-
x86_64-linux = "sha256-BbY+7fGAWW5CR/z4GeoBl5aOewCRuWzQjpQX4x1rzls=";
48
}
49
.${system} or throwSystem;
50
···
26
27
pname = "wire-desktop";
28
29
+
versions = builtins.fromJSON (builtins.readFile ./versions.json);
30
+
31
version =
0
0
0
32
{
33
+
x86_64-darwin = versions.macos.version;
34
+
aarch64-darwin = versions.macos.version;
35
+
x86_64-linux = versions.linux.version;
36
}
37
.${system} or throwSystem;
38
39
hash =
0
0
0
40
{
41
+
x86_64-darwin = versions.macos.hash;
42
+
aarch64-darwin = versions.macos.hash;
43
+
x86_64-linux = versions.linux.hash;
44
}
45
.${system} or throwSystem;
46
+10
pkgs/by-name/wi/wire-desktop/versions.json
···
0
0
0
0
0
0
0
0
0
0
···
1
+
{
2
+
"linux": {
3
+
"version": "3.39.3653",
4
+
"hash": "sha256-BbY+7fGAWW5CR/z4GeoBl5aOewCRuWzQjpQX4x1rzls="
5
+
},
6
+
"macos": {
7
+
"version": "3.39.5211",
8
+
"hash": "sha256-k6CIqHt67AFL70zdK0/91aQcpbb00OIggk5TF7y1IOY="
9
+
}
10
+
}