blob: 64df774af5c22e0ae9b497b2bb99a271d318c37a (
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
33
34
35
36
37
38
39
40
41
42
43
|
{
lib,
stdenv,
fetchFromGitHub,
installShellFiles,
libpulseaudio,
nas,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "gbsplay";
version = "0.0.97";
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = finalAttrs.version;
hash = "sha256-O4t5OzXcrGoxzSXr0nzc01bItjcp1LvFeWnbdSUDwFU=";
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [
libpulseaudio
nas
];
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
meta = {
description = "Gameboy sound player";
license = lib.licenses.gpl1Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ sigmanificient ];
mainProgram = "gbsplay";
};
})
|