git.iko.soy/typeable/nixpkgs
on master help sign in
gbsplay: init at version 2016-12-17
commit74e6aa7de608f1ea62a67dc9dfb7f09db6b64633 authorChristoph-Simon Senjak <you@example.com> dateWed 25 Jan 2017, 21:59 (10 years ago) parentd01b949
2 files changed+38
pkgs/applications/audio/gbsplay/default.nix+36 pkgs/top-level/all-packages.nix+2
pkgs/applications/audio/gbsplay/default.nixnew file+36
@@ -0,0 +1,36 @@
1+{ stdenv, fetchFromGitHub, libpulseaudio }:
2+
3+stdenv.mkDerivation {
4+ name = "gbsplay-2016-12-17";
5+
6+ src = fetchFromGitHub {
7+ owner = "mmitch";
8+ repo = "gbsplay";
9+ rev = "2c4486e17fd4f4cdea8c3fd79ae898c892616b70";
10+ sha256 = "1214j67sr87zfhvym41cw2g823fmqh4hr451r7y1s9ql3jpjqhpz";
11+ };
12+
13+ buildInputs = [ libpulseaudio ];
14+
15+ #CFLAGS = "-I${libpulseaudio}/include";
16+ #LDFLAGS = "-L${libpulseaudio}/lib";
17+
18+# preConfigure = ''
19+# sed -i "s:check_include pulse/simple.h:check_include pulse/simple.h ${libpulseaudio}/include:" ./configure;
20+# '';
21+
22+ configureFlagsArray = [
23+ "--without-test" "--without-contrib" "--disable-devdsp"
24+ "--enable-pulse" "--disable-alsa" "--disable-midi" "--disable-nas"
25+ "--disable-dsound" "--disable-i18n"
26+ ];
27+
28+ makeFlagsArray = [ "tests=" ];
29+
30+
31+ meta = with stdenv.lib; {
32+ description = "gameboy sound player";
33+ license = licenses.gpl1;
34+ maintainers = with maintainers; [ dasuxullebt ];
35+ };
36+}
pkgs/top-level/all-packages.nix+2
@@ -862,6 +862,8 @@ with pkgs;
862862
863863 fzy = callPackage ../tools/misc/fzy { };
864864
865+ gbsplay = callPackage ../applications/audio/gbsplay { };
866+
865867 gdrivefs = python27Packages.gdrivefs;
866868
867869 go-dependency-manager = callPackage ../development/tools/gdm { };