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