libgme: remove

This was a duplicate package, we already had it under the name
game-music-emu. This commit merges the stdenv reference fix that was
present in libgme into game-music-emu as well.

+12 -39
+11 -3
pkgs/applications/audio/game-music-emu/default.nix
··· 1 - { lib, stdenv, fetchurl, cmake }: 1 + { lib, stdenv, fetchurl, cmake, removeReferencesTo }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "0.6.3"; ··· 9 9 sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb"; 10 10 }; 11 11 cmakeFlags = lib.optionals stdenv.isDarwin [ "-DENABLE_UBSAN=OFF" ]; 12 - nativeBuildInputs = [ cmake ]; 12 + nativeBuildInputs = [ cmake removeReferencesTo ]; 13 + 14 + # It used to reference it, in the past, but thanks to the postFixup hook, now 15 + # it doesn't. 16 + disallowedReferences = [ stdenv.cc.cc ]; 17 + 18 + postFixup = lib.optionalString stdenv.isLinux '' 19 + remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" 20 + ''; 13 21 14 22 meta = with lib; { 15 23 homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home"; 16 24 description = "A collection of video game music file emulators"; 17 25 license = licenses.lgpl21Plus; 18 26 platforms = platforms.all; 19 - maintainers = with maintainers; [ luc65r ]; 27 + maintainers = with maintainers; [ luc65r lheckemann ]; 20 28 }; 21 29 }
-34
pkgs/development/libraries/audio/libgme/default.nix
··· 1 - { lib, stdenv, fetchFromBitbucket, cmake, removeReferencesTo }: 2 - 3 - stdenv.mkDerivation rec { 4 - pname = "libgme"; 5 - version = "0.6.3"; 6 - 7 - meta = with lib; { 8 - description = "A collection of video game music chip emulators"; 9 - homepage = "https://bitbucket.org/mpyne/game-music-emu/overview"; 10 - license = licenses.lgpl21; 11 - platforms = platforms.all; 12 - maintainers = with maintainers; [ lheckemann ]; 13 - }; 14 - 15 - src = fetchFromBitbucket { 16 - owner = "mpyne"; 17 - repo = "game-music-emu"; 18 - rev = version; 19 - sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy"; 20 - }; 21 - 22 - nativeBuildInputs = [ cmake removeReferencesTo ]; 23 - 24 - # These checks fail on aarch64-darwin 25 - cmakeFlags = [ "-DENABLE_UBSAN=OFF" ]; 26 - 27 - # It used to reference it, in the past, but thanks to the postFixup hook, now 28 - # it doesn't. 29 - disallowedReferences = [ stdenv.cc.cc ]; 30 - 31 - postFixup = lib.optionalString stdenv.isLinux '' 32 - remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" 33 - ''; 34 - }
+1
pkgs/top-level/aliases.nix
··· 710 710 liberation_ttf_v2_from_source = throw "'liberation_ttf_v2_from_source' has been renamed to/replaced by 'liberation_ttf_v2'"; # Converted to throw 2022-02-22 711 711 liberationsansnarrow = throw "'liberationsansnarrow' has been renamed to/replaced by 'liberation-sans-narrow'"; # Converted to throw 2022-02-22 712 712 libgksu = throw "libgksu has been removed"; # Added 2022-01-16 713 + libgme = game-music-emu; # Added 2022-07-20 713 714 libgnome_keyring = throw "'libgnome_keyring' has been renamed to/replaced by 'libgnome-keyring'"; # Converted to throw 2022-02-22 714 715 libgnome_keyring3 = throw "'libgnome_keyring3' has been renamed to/replaced by 'libgnome-keyring3'"; # Converted to throw 2022-02-22 715 716 libgpgerror = libgpg-error; # Added 2021-09-04
-2
pkgs/top-level/all-packages.nix
··· 20751 20751 20752 20752 lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { }; 20753 20753 20754 - libgme = callPackage ../development/libraries/audio/libgme { }; 20755 - 20756 20754 librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { }; 20757 20755 20758 20756 librdf_raptor2 = callPackage ../development/libraries/librdf/raptor2.nix { };