2007-09-23 18:28:56 +02:00
|
|
|
args: with args;
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2007-09-23 18:28:56 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "timidity-2.13.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = http://ovh.dl.sourceforge.net/sourceforge/timidity/TiMidity++-2.13.0.tar.bz2;
|
|
|
|
sha256 = "1jbmk0m375fh5nj2awqzns7pdjbi7dxpjdwcix04zipfcilppbmf";
|
|
|
|
};
|
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
instruments = fetchurl {
|
|
|
|
url = http://www.csee.umbc.edu/pub/midia/instruments.tar.gz;
|
|
|
|
sha256 = "0lsh9l8l5h46z0y8ybsjd4pf6c22n33jsjvapfv3rjlfnasnqw67";
|
|
|
|
};
|
2007-09-23 18:28:56 +02:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
buildInputs = [alsaLib];
|
2007-09-23 18:28:56 +02:00
|
|
|
|
2009-03-03 14:27:40 +01:00
|
|
|
postInstall = ''
|
|
|
|
mkdir -p $out/share/timidity/;
|
|
|
|
cp ${./timidity.cfg} $out/share/timidity/timidity.cfg
|
|
|
|
tar -xf $instruments -C $out/share/timidity/
|
|
|
|
'';
|
2007-09-23 18:28:56 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A software MIDI renderer";
|
2007-09-23 18:28:56 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|