2021-01-15 14:21:58 +01:00
|
|
|
{lib, stdenv, fetchurl}:
|
2013-07-18 06:50:59 +02:00
|
|
|
let
|
|
|
|
s = # Generated upstream information
|
|
|
|
rec {
|
|
|
|
baseName="mi2ly";
|
|
|
|
version="0.12";
|
|
|
|
name="${baseName}-${version}";
|
|
|
|
hash="1b14zcwlvnxhjxr3ymyzg0mg4sbijkinzpxm641s859jxcgylmll";
|
2018-12-01 18:07:00 +01:00
|
|
|
url="https://download.savannah.gnu.org/releases/mi2ly/mi2ly.0.12.tar.bz2";
|
2013-07-18 06:50:59 +02:00
|
|
|
sha256="1b14zcwlvnxhjxr3ymyzg0mg4sbijkinzpxm641s859jxcgylmll";
|
|
|
|
};
|
|
|
|
buildInputs = [
|
|
|
|
];
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit (s) name version;
|
|
|
|
inherit buildInputs;
|
|
|
|
src = fetchurl {
|
|
|
|
inherit (s) url sha256;
|
|
|
|
};
|
|
|
|
|
|
|
|
sourceRoot=".";
|
|
|
|
|
2016-02-26 18:38:15 +01:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 13:32:24 +01:00
|
|
|
|
2013-07-18 06:50:59 +02:00
|
|
|
buildPhase = "./cc";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out"/{bin,share/doc/mi2ly}
|
|
|
|
cp mi2ly "$out/bin"
|
|
|
|
cp README Doc.txt COPYING Manual.txt "$out/share/doc/mi2ly"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
inherit (s) version;
|
2021-01-16 05:20:42 +01:00
|
|
|
description = "MIDI to Lilypond converter";
|
2021-01-15 14:21:58 +01:00
|
|
|
license = lib.licenses.gpl2Plus ;
|
|
|
|
maintainers = [lib.maintainers.raskin];
|
|
|
|
platforms = lib.platforms.linux;
|
2018-04-11 01:19:25 +02:00
|
|
|
broken = true; # 2018-04-11
|
2013-07-18 06:50:59 +02:00
|
|
|
};
|
|
|
|
}
|