gbsplay: 2016-12-17 -> 0.0.94

Add the "nas" output plugin. Remove configure flags since those should
get detected automatically. Install bash completions. Format through
nixpkgs-fmt.
This commit is contained in:
Axel Forsman 2021-06-13 13:53:30 +02:00
parent abd57b544e
commit 96e9be097b

View file

@ -1,28 +1,32 @@
{ lib, stdenv, fetchFromGitHub, libpulseaudio }: { lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "gbsplay-2016-12-17"; pname = "gbsplay";
version = "0.0.94";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "mmitch"; owner = "mmitch";
repo = "gbsplay"; repo = "gbsplay";
rev = "2c4486e17fd4f4cdea8c3fd79ae898c892616b70"; rev = version;
sha256 = "1214j67sr87zfhvym41cw2g823fmqh4hr451r7y1s9ql3jpjqhpz"; sha256 = "VpaXbjotmc/Ref1geiKkBX9UhbPxfAGkFAdKVxP8Uxo=";
}; };
buildInputs = [ libpulseaudio ]; configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
configureFlags = nativeBuildInputs = [ installShellFiles ];
[ "--without-test" "--without-contrib" "--disable-devdsp" buildInputs = [ libpulseaudio nas ];
"--enable-pulse" "--disable-alsa" "--disable-midi"
"--disable-nas" "--disable-dsound" "--disable-i18n" ];
makeFlags = [ "tests=" ]; postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
meta = with lib; { meta = with lib; {
description = "gameboy sound player"; description = "Gameboy sound player";
license = licenses.gpl1; license = licenses.gpl1;
platforms = ["i686-linux" "x86_64-linux"]; platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ dasuxullebt ]; maintainers = with maintainers; [ dasuxullebt ];
}; };
} }