tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
muse-sounds-manager: 1.1.0.587 -> 2.0.4.872
Sarun Intaralawan
7 months ago
42112426
dbb28519
+25
-13
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
mu
muse-sounds-manager
package.nix
+25
-13
pkgs/by-name/mu/muse-sounds-manager/package.nix
···
3
stdenv,
4
fetchurl,
5
autoPatchelfHook,
6
-
dpkg,
7
fontconfig,
8
zlib,
9
icu,
···
14
libICE,
15
libSM,
16
openssl,
0
0
0
17
}:
18
19
stdenv.mkDerivation rec {
20
pname = "muse-sounds-manager";
21
-
version = "1.1.0.587";
22
23
# Use web.archive.org since upstream does not provide a stable (versioned) URL.
24
# To see if there are new versions on the Web Archive, visit
25
-
# http://web.archive.org/cdx/search/cdx?url=https://muse-cdn.com/Muse_Sounds_Manager_Beta.deb
26
# then replace the date in the URL below with date when the SHA1
27
-
# changes (currently A3NX3WHFZWXCHZVME2ABUL2VRENTWOD5) and replace
28
# the version above with the version in the .deb metadata (or in the
29
# settings of muse-sounds-manager).
30
src = fetchurl {
31
-
url = "https://web.archive.org/web/20240826143936/https://muse-cdn.com/Muse_Sounds_Manager_Beta.deb";
32
-
hash = "sha256-wzZAIjme1cv8+jMLiKT7kUQvCb+UhsvOnLDV4hCL3hw=";
33
};
34
35
nativeBuildInputs = [
36
autoPatchelfHook
37
-
dpkg
38
];
39
40
buildInputs = [
···
55
openssl
56
];
57
58
-
unpackPhase = "dpkg -x $src .";
59
-
60
installPhase = ''
61
runHook preInstall
62
63
-
mkdir -p $out
64
-
mv usr/* opt $out/
65
-
substituteInPlace $out/bin/muse-sounds-manager --replace-fail /opt/ $out/opt/
0
66
67
runHook postInstall
68
'';
69
0
0
0
0
0
0
0
0
70
meta = {
71
description = "Manage Muse Sounds (Muse Hub) libraries for MuseScore";
72
homepage = "https://musescore.org/";
73
license = lib.licenses.unfree;
74
mainProgram = "muse-sounds-manager";
75
-
maintainers = with lib.maintainers; [ orivej ];
0
0
0
76
platforms = [ "x86_64-linux" ];
77
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
78
};
···
3
stdenv,
4
fetchurl,
5
autoPatchelfHook,
0
6
fontconfig,
7
zlib,
8
icu,
···
13
libICE,
14
libSM,
15
openssl,
16
+
unzip,
17
+
xdg-utils,
18
+
makeWrapper,
19
}:
20
21
stdenv.mkDerivation rec {
22
pname = "muse-sounds-manager";
23
+
version = "2.0.4.872";
24
25
# Use web.archive.org since upstream does not provide a stable (versioned) URL.
26
# To see if there are new versions on the Web Archive, visit
27
+
# http://web.archive.org/cdx/search/cdx?url=https://muse-cdn.com/Muse_Sounds_Manager_x64.tar.gz
28
# then replace the date in the URL below with date when the SHA1
29
+
# changes (currently QLR46LKDOAPB7VSF45HEAXWVNWFJHITG) and replace
30
# the version above with the version in the .deb metadata (or in the
31
# settings of muse-sounds-manager).
32
src = fetchurl {
33
+
url = "https://web.archive.org/web/20250729165100if_/https://muse-cdn.com/Muse_Sounds_Manager_x64.tar.gz";
34
+
hash = "sha256-VcLBXpLDk90yd0j9NIzBOXXAciSLWP9y5X51L2/9W4A=";
35
};
36
37
nativeBuildInputs = [
38
autoPatchelfHook
39
+
makeWrapper
40
];
41
42
buildInputs = [
···
57
openssl
58
];
59
0
0
60
installPhase = ''
61
runHook preInstall
62
63
+
mkdir -p $out $out/share/applications $out/share/icons
64
+
cp -p -R bin/ $out/
65
+
cp -p res/*.desktop $out/share/applications
66
+
cp -p -R res/icons $out/share
67
68
runHook postInstall
69
'';
70
71
+
postInstall = ''
72
+
ln -s ${xdg-utils}/bin/xdg-open $out/bin/open
73
+
wrapProgram $out/bin/muse-sounds-manager \
74
+
--prefix PATH : ${lib.makeBinPath [ unzip ]}
75
+
'';
76
+
77
+
dontStrip = true;
78
+
79
meta = {
80
description = "Manage Muse Sounds (Muse Hub) libraries for MuseScore";
81
homepage = "https://musescore.org/";
82
license = lib.licenses.unfree;
83
mainProgram = "muse-sounds-manager";
84
+
maintainers = with lib.maintainers; [
85
+
orivej
86
+
sarunint
87
+
];
88
platforms = [ "x86_64-linux" ];
89
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
90
};