tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
vgmstream: format with nixfmt-rfc-style
Thiago Kenji Okada
1 year ago
b41a0997
13020da8
+24
-9
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
vg
vgmstream
package.nix
+24
-9
pkgs/by-name/vg/vgmstream/package.nix
···
1
1
-
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, gtk3
2
2
-
, audacious-bare, mpg123, ffmpeg, libvorbis, libao, jansson, speex
3
3
-
, nix-update-script
4
4
-
, buildAudaciousPlugin ? false # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
1
1
+
{
2
2
+
stdenv,
3
3
+
lib,
4
4
+
fetchFromGitHub,
5
5
+
cmake,
6
6
+
pkg-config,
7
7
+
gtk3,
8
8
+
audacious-bare,
9
9
+
mpg123,
10
10
+
ffmpeg,
11
11
+
libvorbis,
12
12
+
libao,
13
13
+
jansson,
14
14
+
speex,
15
15
+
nix-update-script,
16
16
+
buildAudaciousPlugin ? false, # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
5
17
}:
6
18
7
19
stdenv.mkDerivation rec {
···
17
29
18
30
passthru.updateScript = nix-update-script {
19
31
attrPath = "vgmstream";
20
20
-
extraArgs = [ "--version-regex" "r(.*)" ];
32
32
+
extraArgs = [
33
33
+
"--version-regex"
34
34
+
"r(.*)"
35
35
+
];
21
36
};
22
37
23
38
nativeBuildInputs = [
···
42
57
cmakeFlags = [
43
58
# It always tries to download it, no option to use the system one
44
59
"-DUSE_CELT=OFF"
45
45
-
] ++ lib.optional (! buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
60
60
+
] ++ lib.optional (!buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
46
61
47
62
meta = with lib; {
48
63
description = "Library for playback of various streamed audio formats used in video games";
49
49
-
homepage = "https://vgmstream.org";
64
64
+
homepage = "https://vgmstream.org";
50
65
maintainers = with maintainers; [ zane ];
51
51
-
license = with licenses; isc;
52
52
-
platforms = with platforms; unix;
66
66
+
license = with licenses; isc;
67
67
+
platforms = with platforms; unix;
53
68
};
54
69
}