about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/audio/gbsplay/default.nix
blob: f89b8ed399b4e3a2f5f25958747fe0b85dcec79b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ stdenv, fetchFromGitHub, libpulseaudio }:

stdenv.mkDerivation {
  name = "gbsplay-2016-12-17";

  src = fetchFromGitHub {
    owner = "mmitch";
    repo = "gbsplay";
    rev = "2c4486e17fd4f4cdea8c3fd79ae898c892616b70";
    sha256 = "1214j67sr87zfhvym41cw2g823fmqh4hr451r7y1s9ql3jpjqhpz";
  };

  buildInputs = [ libpulseaudio ];

  configureFlags =
   [ "--without-test" "--without-contrib" "--disable-devdsp"
     "--enable-pulse" "--disable-alsa" "--disable-midi"
     "--disable-nas" "--disable-dsound" "--disable-i18n" ];

  makeFlags = [ "tests=" ];

  meta = with stdenv.lib; {
    description = "gameboy sound player";
    license = licenses.gpl1;
    platforms = ["i686-linux" "x86_64-linux"];
    maintainers = with maintainers; [ dasuxullebt ];
  };
}