vgmstream: init at r1050-3448-g77cc431b

test
Simon Bruder 2021-05-28 13:01:06 +02:00
parent effd32025d
commit 9bae5108d5
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
2 changed files with 32 additions and 0 deletions

View File

@ -38,6 +38,8 @@
unxwb = callPackage ./unxwb { };
vgmstream = callPackage ./vgmstream { };
VisiCut = callPackage ./VisiCut { };
x264-unstable = prev.x264.overrideAttrs (callPackage ./x264-unstable { });
@ -71,6 +73,7 @@
oha
textidote
unxwb
vgmstream
x264-unstable;
mpvScripts = lib.recurseIntoAttrs {

29
vgmstream/default.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, fdk_aac, ffmpeg, jansson, libao, libvorbis, mpg123 }:
stdenv.mkDerivation rec {
pname = "vgmstream";
version = "r1050-3448-g77cc431b";
src = fetchFromGitHub {
owner = "vgmstream";
repo = "vgmstream";
rev = version;
sha256 = "030q02c9li14by7vm00gn6v3m4dxxmfwiy9iyz3xsgzq1i7pqc1d";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ fdk_aac ffmpeg jansson libao libvorbis mpg123 ];
cmakeFlags = [
"-DBUILD_AUDACIOUS=OFF"
"-DVGMSTREAM_VERSION=${version}"
];
meta = with lib; {
description = "A library for playback of various streamed audio formats used in video games";
homepage = "https://vgmstream.org/";
license = with licenses; [ mit ];
maintainers = with maintainers; [ sbruder ];
platforms = platforms.all;
};
}