2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-03-28 14:38:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "midicsv-1.1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.fourmilab.ch/webtools/midicsv/${name}.tar.gz";
|
|
|
|
sha256 = "1vvhk2nf9ilfw0wchmxy8l13hbw9cnpz079nsx5srsy4nnd78nkw";
|
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
2021-03-10 12:00:33 +00:00
|
|
|
substituteInPlace Makefile \
|
|
|
|
--replace /usr/local $out \
|
|
|
|
--replace gcc "${stdenv.cc.targetPrefix}cc"
|
2020-03-28 14:38:41 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-03-28 14:38:41 +00:00
|
|
|
description = "Losslessly translate MIDI to CSV and back";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.fourmilab.ch/webtools/midicsv/";
|
2020-03-28 14:38:41 +00:00
|
|
|
license = licenses.publicDomain;
|
|
|
|
maintainers = with maintainers; [ orivej ];
|
2021-03-10 12:00:33 +00:00
|
|
|
platforms = platforms.all;
|
2020-03-28 14:38:41 +00:00
|
|
|
};
|
|
|
|
}
|