Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
44 lines
860 B
Nix
44 lines
860 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
installShellFiles,
|
|
libpulseaudio,
|
|
nas,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "gbsplay";
|
|
version = "0.0.100";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mmitch";
|
|
repo = "gbsplay";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-vsfpBhx3bNs6hQDO+xAPWFsf8L8fMtfdU5XKjF/r6PA=";
|
|
};
|
|
|
|
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";
|
|
};
|
|
})
|