2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-01-05 17:05:55 +00:00
|
|
|
version = "0.6.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "game-music-emu";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-05 17:05:55 +00:00
|
|
|
url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
2022-02-10 20:34:41 +00:00
|
|
|
cmakeFlags = lib.optionals stdenv.isDarwin [ "-DENABLE_UBSAN=OFF" ];
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home";
|
|
|
|
description = "A collection of video game music file emulators";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.all;
|
2021-01-05 17:05:55 +00:00
|
|
|
maintainers = with maintainers; [ luc65r ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|