diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/audio/libgme/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/audio/libgme/default.nix | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/nixpkgs/pkgs/development/libraries/audio/libgme/default.nix b/nixpkgs/pkgs/development/libraries/audio/libgme/default.nix deleted file mode 100644 index d78756b0ca45..000000000000 --- a/nixpkgs/pkgs/development/libraries/audio/libgme/default.nix +++ /dev/null @@ -1,34 +0,0 @@ -{ lib, stdenv, fetchFromBitbucket, cmake, removeReferencesTo }: - -stdenv.mkDerivation rec { - pname = "libgme"; - version = "0.6.3"; - - meta = with lib; { - description = "A collection of video game music chip emulators"; - homepage = "https://bitbucket.org/mpyne/game-music-emu/overview"; - license = licenses.lgpl21; - platforms = platforms.all; - maintainers = with maintainers; [ lheckemann ]; - }; - - src = fetchFromBitbucket { - owner = "mpyne"; - repo = "game-music-emu"; - rev = version; - sha256 = "100ahb4n4pvgcry9xzlf2fr4j57n5h9x7pvyhhxys4dcy8axqqsy"; - }; - - nativeBuildInputs = [ cmake removeReferencesTo ]; - - # These checks fail on aarch64-darwin - cmakeFlags = [ "-DENABLE_UBSAN=OFF" ]; - - # It used to reference it, in the past, but thanks to the postFixup hook, now - # it doesn't. - disallowedReferences = [ stdenv.cc.cc ]; - - postFixup = lib.optionalString stdenv.isLinux '' - remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)" - ''; -} |