forked from mirrors/nixpkgs
fcad0b0a5a
Some of these should be longDescriptions, but most others just shouldn't contain newlines. E.g. write description = "Bla"; and not description = '' Bla ''; This pollutes "nix-env -qa --description" output. svn path=/nixpkgs/trunk/; revision=14310
29 lines
679 B
Nix
29 lines
679 B
Nix
args: with args;
|
|
|
|
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";
|
|
};
|
|
|
|
instruments = fetchurl {
|
|
url = http://www.csee.umbc.edu/pub/midia/instruments.tar.gz;
|
|
sha256 = "0lsh9l8l5h46z0y8ybsjd4pf6c22n33jsjvapfv3rjlfnasnqw67";
|
|
};
|
|
|
|
buildInputs = [alsaLib];
|
|
|
|
postInstall = ''
|
|
mkdir -p $out/share/timidity/;
|
|
cp ${./timidity.cfg} $out/share/timidity/timidity.cfg
|
|
tar -xf $instruments -C $out/share/timidity/
|
|
'';
|
|
|
|
meta = {
|
|
description = "A software MIDI renderer";
|
|
};
|
|
}
|
|
|