7c66fb1ec5
They said they haven't used Nix in a while and is not interested in maintaining cemu-ti (presumably other packages too), so I asked to take over his role. I removed luc65r from the meta.maintainers attribtes, and adopted the packages I wanted to adopt. I chose to adopt the TI graphing calculator-related packages as I am part of Cemetech.
31 lines
1007 B
Nix
31 lines
1007 B
Nix
{ lib, stdenv, fetchurl, cmake, removeReferencesTo, zlib }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.6.3";
|
|
pname = "game-music-emu";
|
|
|
|
src = fetchurl {
|
|
url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.xz";
|
|
sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb";
|
|
};
|
|
cmakeFlags = [ "-DENABLE_UBSAN=OFF" ];
|
|
nativeBuildInputs = [ cmake removeReferencesTo ];
|
|
buildInputs = [ zlib ];
|
|
|
|
# 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.hostPlatform.isLinux ''
|
|
remove-references-to -t ${stdenv.cc.cc} "$(readlink -f $out/lib/libgme.so)"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home";
|
|
description = "Collection of video game music file emulators";
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|