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
788 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }:
2017-01-25 21:59:27 +01:00
stdenv.mkDerivation rec {
pname = "gbsplay";
version = "0.0.94";
2017-01-25 21:59:27 +01:00
src = fetchFromGitHub {
owner = "mmitch";
repo = "gbsplay";
rev = version;
sha256 = "VpaXbjotmc/Ref1geiKkBX9UhbPxfAGkFAdKVxP8Uxo=";
2017-01-25 21:59:27 +01:00
};
configureFlags = [
"--without-test" # See mmitch/gbsplay#62
"--without-contrib"
];
nativeBuildInputs = [ installShellFiles ];
buildInputs = [ libpulseaudio nas ];
2017-01-25 21:59:27 +01:00
postInstall = ''
installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion
'';
2017-01-25 21:59:27 +01:00
meta = with lib; {
description = "Gameboy sound player";
2017-01-25 21:59:27 +01:00
license = licenses.gpl1;
platforms = [ "i686-linux" "x86_64-linux" ];
2017-01-25 21:59:27 +01:00
maintainers = with maintainers; [ dasuxullebt ];
};
}