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
-
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, gtk3
2
-
, audacious-bare, mpg123, ffmpeg, libvorbis, libao, jansson, speex
3
-
, nix-update-script
4
-
, buildAudaciousPlugin ? false # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
0
0
0
0
0
0
0
0
0
0
0
0
5
}:
6
7
stdenv.mkDerivation rec {
···
17
18
passthru.updateScript = nix-update-script {
19
attrPath = "vgmstream";
20
-
extraArgs = [ "--version-regex" "r(.*)" ];
0
0
0
21
};
22
23
nativeBuildInputs = [
···
42
cmakeFlags = [
43
# It always tries to download it, no option to use the system one
44
"-DUSE_CELT=OFF"
45
-
] ++ lib.optional (! buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
46
47
meta = with lib; {
48
description = "Library for playback of various streamed audio formats used in video games";
49
-
homepage = "https://vgmstream.org";
50
maintainers = with maintainers; [ zane ];
51
-
license = with licenses; isc;
52
-
platforms = with platforms; unix;
53
};
54
}
···
1
+
{
2
+
stdenv,
3
+
lib,
4
+
fetchFromGitHub,
5
+
cmake,
6
+
pkg-config,
7
+
gtk3,
8
+
audacious-bare,
9
+
mpg123,
10
+
ffmpeg,
11
+
libvorbis,
12
+
libao,
13
+
jansson,
14
+
speex,
15
+
nix-update-script,
16
+
buildAudaciousPlugin ? false, # only build cli by default, pkgs.audacious-plugins sets this to enable plugin support
17
}:
18
19
stdenv.mkDerivation rec {
···
29
30
passthru.updateScript = nix-update-script {
31
attrPath = "vgmstream";
32
+
extraArgs = [
33
+
"--version-regex"
34
+
"r(.*)"
35
+
];
36
};
37
38
nativeBuildInputs = [
···
57
cmakeFlags = [
58
# It always tries to download it, no option to use the system one
59
"-DUSE_CELT=OFF"
60
+
] ++ lib.optional (!buildAudaciousPlugin) "-DBUILD_AUDACIOUS=OFF";
61
62
meta = with lib; {
63
description = "Library for playback of various streamed audio formats used in video games";
64
+
homepage = "https://vgmstream.org";
65
maintainers = with maintainers; [ zane ];
66
+
license = with licenses; isc;
67
+
platforms = with platforms; unix;
68
};
69
}