nixpkgs/pkgs/applications/audio/gbsplay/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
787 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }:
2017-01-25 20:59:27 +00:00
stdenv.mkDerivation rec {
pname = "gbsplay";
2024-04-18 00:49:19 +00:00
version = "0.0.97";
2017-01-25 20:59:27 +00:00
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = version;
2024-04-18 00:49:19 +00:00
sha256 = "sha256-O4t5OzXcrGoxzSXr0nzc01bItjcp1LvFeWnbdSUDwFU=";
2017-01-25 20:59:27 +00:00
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libpulseaudio nas ];
2017-01-25 20:59:27 +00:00
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
2017-01-25 20:59:27 +00:00
meta = with lib; {
description = "Gameboy sound player";
2022-09-29 08:54:21 +00:00
license = licenses.gpl1Plus;
platforms = [ "i686-linux" "x86_64-linux" ];
maintainers = with maintainers; [ ];
2017-01-25 20:59:27 +00:00
};
}