blob: b86142ed47b5421cb33af7e9e8e555795e0beac3 (
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
29
30
31
32
|
{ lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }:
stdenv.mkDerivation rec {
pname = "gbsplay";
version = "0.0.96";
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = version;
sha256 = "sha256-2sYPP+urcSP67mHzbjRiL9BYgkIpONr7fPPbGQmBOqU=";
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libpulseaudio nas ];
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
meta = with lib; {
description = "Gameboy sound player";
license = licenses.gpl1Plus;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ ];
};
}
|