tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
google-music: beta_1.0.129.6633 -> beta_1.0.182.3607
Arseniy Seroka
10 years ago
ee882593
142400b8
+8
-7
1 changed file
expand all
collapse all
unified
split
pkgs
applications
audio
google-musicmanager
default.nix
+8
-7
pkgs/applications/audio/google-musicmanager/default.nix
···
2
2
, libvorbis }:
3
3
4
4
assert stdenv.system == "x86_64-linux" || stdenv.system == "1686-linux";
5
5
-
5
5
+
let
6
6
+
archUrl = name: arch: "http://dl.google.com/linux/musicmanager/deb/pool/main/g/google-musicmanager-beta/${name}_${arch}.deb";
7
7
+
in
6
8
stdenv.mkDerivation rec {
7
7
-
debversion = "beta_1.0.129.6633-r0";
8
8
-
version = "beta_1.0.129.6633-r0"; # friendly to nix-env version sorting algo
9
9
+
version = "beta_1.0.182.3607-r0"; # friendly to nix-env version sorting algo
9
10
product = "google-musicmanager";
10
11
name = "${product}-${version}";
11
12
···
16
17
17
18
src = if stdenv.system == "x86_64-linux"
18
19
then fetchurl {
19
19
-
url = "http://dl.google.com/linux/musicmanager/deb/pool/main/g/google-musicmanager-beta/google-musicmanager-${version}_amd64.deb";
20
20
-
sha256 = "1fq2p721mzv8nd4dq6i9xiqvvqd5ak3v142vsxchg6yn14a9kbvr";
20
20
+
url = archUrl name "amd64";
21
21
+
sha256 = "141x986haxg3r72ggh8prz0qg298jkad1ys8sdvsac92p4adcqx4";
21
22
}
22
23
else fetchurl {
23
23
-
url = "http://dl.google.com/linux/musicmanager/deb/pool/main/g/google-musicmanager-beta/google-musicmanager-${version}_i386.deb";
24
24
-
sha256 = "7914e3e6e2adb2e952ebaf383db5e04727c29cfa83401007f29977f6c5ff6873";
24
24
+
url = archUrl name "i386";
25
25
+
sha256 = "076iaa7pxhj8b1hlg5ah9jfm4qgzgjc9ivvg2l18wp045gnycv1l";
25
26
};
26
27
27
28
unpackPhase = ''