tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
uade: 3.02 -> 3.05
OPNA2608
1 year ago
35a5b602
cb171c52
+8
-6
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
ua
uade
package.nix
+8
-6
pkgs/by-name/ua/uade/package.nix
···
2
lib,
3
stdenv,
4
fetchFromGitLab,
0
5
bencodetools,
6
flac,
7
lame,
8
libao,
0
9
makeWrapper,
10
python3,
11
pkg-config,
···
16
17
stdenv.mkDerivation (finalAttrs: {
18
pname = "uade";
19
-
version = "3.02";
20
21
src = fetchFromGitLab {
22
owner = "uade-music-player";
23
repo = "uade";
24
rev = "uade-${finalAttrs.version}";
25
-
hash = "sha256-skPEXBQwyr326zCmZ2jwGxcBoTt3Y/h2hagDeeqbMpw=";
26
};
27
28
postPatch = ''
···
34
35
substituteInPlace python/uade/generate_oscilloscope_view.py \
36
--replace-fail "default='uade123'" "default='$out/bin/uade123'"
37
-
38
-
# https://gitlab.com/uade-music-player/uade/-/issues/37
39
-
substituteInPlace write_audio/Makefile.in \
40
-
--replace-fail 'g++' '${stdenv.cc.targetPrefix}c++'
41
'';
42
43
nativeBuildInputs = [
···
51
flac
52
lame
53
libao
0
54
sox
55
vorbis-tools
56
];
57
58
configureFlags = [
59
"--bencode-tools-prefix=${bencodetools}"
0
60
(lib.strings.withFeature true "text-scope")
61
(lib.strings.withFeature false "write-audio")
62
];
···
79
# This is an old script, don't break expectations by renaming it
80
ln -s $out/bin/mod2ogg2{.sh,}
81
'';
0
0
82
83
meta = {
84
description = "Plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API";
···
2
lib,
3
stdenv,
4
fetchFromGitLab,
5
+
gitUpdater,
6
bencodetools,
7
flac,
8
lame,
9
libao,
10
+
libzakalwe,
11
makeWrapper,
12
python3,
13
pkg-config,
···
18
19
stdenv.mkDerivation (finalAttrs: {
20
pname = "uade";
21
+
version = "3.05";
22
23
src = fetchFromGitLab {
24
owner = "uade-music-player";
25
repo = "uade";
26
rev = "uade-${finalAttrs.version}";
27
+
hash = "sha256-k6t8EQ/G8PbfRrBMXubn1XfBPvw1qDoMGh5xJKrcX+E=";
28
};
29
30
postPatch = ''
···
36
37
substituteInPlace python/uade/generate_oscilloscope_view.py \
38
--replace-fail "default='uade123'" "default='$out/bin/uade123'"
0
0
0
0
39
'';
40
41
nativeBuildInputs = [
···
49
flac
50
lame
51
libao
52
+
libzakalwe
53
sox
54
vorbis-tools
55
];
56
57
configureFlags = [
58
"--bencode-tools-prefix=${bencodetools}"
59
+
"--libzakalwe-prefix=${libzakalwe}"
60
(lib.strings.withFeature true "text-scope")
61
(lib.strings.withFeature false "write-audio")
62
];
···
79
# This is an old script, don't break expectations by renaming it
80
ln -s $out/bin/mod2ogg2{.sh,}
81
'';
82
+
83
+
passthru.updateScript = gitUpdater { rev-prefix = "uade-"; };
84
85
meta = {
86
description = "Plays old Amiga tunes through UAE emulation and cloned m68k-assembler Eagleplayer API";