From 74e6aa7de608f1ea62a67dc9dfb7f09db6b64633 Mon Sep 17 00:00:00 2001 From: Christoph-Simon Senjak Date: Wed, 25 Jan 2017 21:59:27 +0100 Subject: gbsplay: init at version 2016-12-17 --- pkgs/applications/audio/gbsplay/default.nix | 36 +++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/applications/audio/gbsplay/default.nix (limited to 'pkgs/applications/audio/gbsplay/default.nix') diff --git a/pkgs/applications/audio/gbsplay/default.nix b/pkgs/applications/audio/gbsplay/default.nix new file mode 100644 index 0000000000000..b49be827d83f9 --- /dev/null +++ b/pkgs/applications/audio/gbsplay/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchFromGitHub, libpulseaudio }: + +stdenv.mkDerivation { + name = "gbsplay-2016-12-17"; + + src = fetchFromGitHub { + owner = "mmitch"; + repo = "gbsplay"; + rev = "2c4486e17fd4f4cdea8c3fd79ae898c892616b70"; + sha256 = "1214j67sr87zfhvym41cw2g823fmqh4hr451r7y1s9ql3jpjqhpz"; + }; + + buildInputs = [ libpulseaudio ]; + + #CFLAGS = "-I${libpulseaudio}/include"; + #LDFLAGS = "-L${libpulseaudio}/lib"; + +# preConfigure = '' +# sed -i "s:check_include pulse/simple.h:check_include pulse/simple.h ${libpulseaudio}/include:" ./configure; +# ''; + + configureFlagsArray = [ + "--without-test" "--without-contrib" "--disable-devdsp" + "--enable-pulse" "--disable-alsa" "--disable-midi" "--disable-nas" + "--disable-dsound" "--disable-i18n" + ]; + + makeFlagsArray = [ "tests=" ]; + + + meta = with stdenv.lib; { + description = "gameboy sound player"; + license = licenses.gpl1; + maintainers = with maintainers; [ dasuxullebt ]; + }; +} -- cgit 1.4.1