diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-06-14 14:26:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-14 14:26:40 +0200 |
commit | d4acb6b9bf62478e845ef6219a7b2e47c2489445 (patch) | |
tree | 7219adf0ad7448c93099c176039f5d2984b9f0e5 /pkgs/applications/audio | |
parent | e8d07ac0d9c5885eabbd109ad632f2d1fce601d7 (diff) | |
parent | 96e9be097b4a21bf2f010c4a542bc699b4d8126b (diff) | |
download | nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar.gz nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar.bz2 nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar.lz nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar.xz nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.tar.zst nixpkgs-d4acb6b9bf62478e845ef6219a7b2e47c2489445.zip |
Merge pull request #126752 from axelf4/gbsplay-0.0.94
gbsplay: 2016-12-17 -> 0.0.94
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/gbsplay/default.nix | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/pkgs/applications/audio/gbsplay/default.nix b/pkgs/applications/audio/gbsplay/default.nix index 7cee125f6e7..3d280ca72ab 100644 --- a/pkgs/applications/audio/gbsplay/default.nix +++ b/pkgs/applications/audio/gbsplay/default.nix @@ -1,28 +1,32 @@ -{ lib, stdenv, fetchFromGitHub, libpulseaudio }: +{ lib, stdenv, fetchFromGitHub, installShellFiles, libpulseaudio, nas }: -stdenv.mkDerivation { - name = "gbsplay-2016-12-17"; +stdenv.mkDerivation rec { + pname = "gbsplay"; + version = "0.0.94"; src = fetchFromGitHub { owner = "mmitch"; repo = "gbsplay"; - rev = "2c4486e17fd4f4cdea8c3fd79ae898c892616b70"; - sha256 = "1214j67sr87zfhvym41cw2g823fmqh4hr451r7y1s9ql3jpjqhpz"; + rev = version; + sha256 = "VpaXbjotmc/Ref1geiKkBX9UhbPxfAGkFAdKVxP8Uxo="; }; - buildInputs = [ libpulseaudio ]; + configureFlags = [ + "--without-test" # See mmitch/gbsplay#62 + "--without-contrib" + ]; - configureFlags = - [ "--without-test" "--without-contrib" "--disable-devdsp" - "--enable-pulse" "--disable-alsa" "--disable-midi" - "--disable-nas" "--disable-dsound" "--disable-i18n" ]; + nativeBuildInputs = [ installShellFiles ]; + buildInputs = [ libpulseaudio nas ]; - makeFlags = [ "tests=" ]; + postInstall = '' + installShellCompletion --bash --name gbsplay contrib/gbsplay.bashcompletion + ''; meta = with lib; { - description = "gameboy sound player"; + description = "Gameboy sound player"; license = licenses.gpl1; - platforms = ["i686-linux" "x86_64-linux"]; + platforms = [ "i686-linux" "x86_64-linux" ]; maintainers = with maintainers; [ dasuxullebt ]; }; } |