vgmstream: init at r1050-3738-g7cfa1f29 (#125492)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

authored by

Zane van Iperen
Sandro
and committed by
GitHub
19ff8bd9 f8fe3cbe

+35
+33
pkgs/applications/audio/vgmstream/default.nix
··· 1 + { stdenv, lib, fetchFromGitHub, cmake, pkg-config 2 + , mpg123, ffmpeg, libvorbis, libao, jansson 3 + }: 4 + stdenv.mkDerivation rec { 5 + pname = "vgmstream"; 6 + version = "r1050-3448-g77cc431b"; 7 + 8 + src = fetchFromGitHub { 9 + owner = "vgmstream"; 10 + repo = "vgmstream"; 11 + rev = version; 12 + sha256 = "030q02c9li14by7vm00gn6v3m4dxxmfwiy9iyz3xsgzq1i7pqc1d"; 13 + }; 14 + 15 + nativeBuildInputs = [ cmake pkg-config ]; 16 + 17 + buildInputs = [ mpg123 ffmpeg libvorbis libao jansson ]; 18 + 19 + # There's no nice way to build the audacious plugin without a circular dependency 20 + cmakeFlags = [ "-DBUILD_AUDACIOUS=OFF" ]; 21 + 22 + preConfigure = '' 23 + echo "#define VERSION \"${version}\"" > cli/version.h 24 + ''; 25 + 26 + meta = with lib; { 27 + description = "A library for playback of various streamed audio formats used in video games"; 28 + homepage = "https://vgmstream.org"; 29 + maintainers = with maintainers; [ zane ]; 30 + license = with licenses; isc; 31 + platforms = with platforms; unix; 32 + }; 33 + }
+2
pkgs/top-level/all-packages.nix
··· 31299 31299 31300 31300 vbam = callPackage ../misc/emulators/vbam { }; 31301 31301 31302 + vgmstream = callPackage ../applications/audio/vgmstream { }; 31303 + 31302 31304 vice = callPackage ../misc/emulators/vice { }; 31303 31305 31304 31306 ViennaRNA = callPackage ../applications/science/molecular-dynamics/viennarna { };