mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 22:23:15 +00:00
39 lines
830 B
Nix
39 lines
830 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libmt32emu";
|
|
version = "2.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "munt";
|
|
repo = "munt";
|
|
rev = "${pname}_${lib.replaceChars [ "." ] [ "_" ] version}";
|
|
hash = "sha256-n5VV5Swh1tOVQGT3urEKl64A/w7cY95/0y5wC5ZuLm4=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
];
|
|
|
|
dontFixCmake = true;
|
|
|
|
cmakeFlags = [
|
|
"-Dmunt_WITH_MT32EMU_SMF2WAV=OFF"
|
|
"-Dmunt_WITH_MT32EMU_QT=OFF"
|
|
];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://munt.sourceforge.net/";
|
|
description = "A library to emulate Roland MT-32, CM-32L, CM-64 and LAPC-I devices";
|
|
license = with licenses; [ lgpl21Plus ];
|
|
maintainers = with maintainers; [ OPNA2608 ];
|
|
platforms = platforms.unix; # Not tested on ReactOS yet :)
|
|
};
|
|
}
|