2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, cmake }:
|
2014-12-22 06:49:34 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2020-06-08 12:07:37 +01:00
|
|
|
version = "0.6.3";
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "game-music-emu";
|
2014-12-22 06:49:34 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-06-08 12:07:37 +01:00
|
|
|
url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "07857vdkak306d9s5g6fhmjyxk7vijzjhkmqb15s7ihfxx9lx8xb";
|
2014-12-22 06:49:34 +00:00
|
|
|
};
|
2021-11-28 02:09:44 +00:00
|
|
|
cmakeFlags = lib.optionals stdenv.isDarwin [ "-DENABLE_UBSAN=OFF" ];
|
2020-12-31 07:48:55 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2014-12-22 06:49:34 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/mpyne/game-music-emu/wiki/Home";
|
2014-12-22 06:49:34 +00:00
|
|
|
description = "A collection of video game music file emulators";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.all;
|
2020-06-08 12:07:37 +01:00
|
|
|
maintainers = with maintainers; [ luc65r ];
|
2014-12-22 06:49:34 +00:00
|
|
|
};
|
|
|
|
}
|