3
0
Fork 0
forked from mirrors/nixpkgs

mt32emu-smf2wav: 1.7.0 -> 1.8.2

This commit is contained in:
OPNA2608 2022-05-12 16:57:32 +02:00
parent 883cb64ae9
commit f88302aa1c

View file

@ -7,15 +7,18 @@
, pkg-config
}:
let
char2underscore = char: str: lib.replaceChars [ char ] [ "_" ] str;
in
stdenv.mkDerivation rec {
pname = "mt32emu-smf2wav";
version = "1.7.0";
version = "1.8.2";
src = fetchFromGitHub {
owner = "munt";
repo = "munt";
rev = "mt32emu_smf2wav_${lib.replaceChars [ "." ] [ "_" ] version}";
hash = "sha256-FnKlKJxe7P4Yqpv0oVGgV4253dMgSmgtb7EAa2FI+aI=";
rev = "${char2underscore "-" pname}_${char2underscore "." version}";
sha256 = "1dh5xpnsgx367ch45mm5c2p26vnxf3shax2afg2cd2lrbrlii7l9";
};
postPatch = ''
@ -45,6 +48,5 @@ stdenv.mkDerivation rec {
license = with licenses; [ gpl3Plus ];
maintainers = with maintainers; [ OPNA2608 ];
platforms = platforms.all;
mainProgram = "mt32emu-smf2wav";
};
}