2010-07-28 18:01:17 +00:00
|
|
|
{ stdenv, fetchurl, ghostscript, texinfo, imagemagick, texi2html, guile
|
|
|
|
, python, gettext, flex, perl, bison, pkgconfig, texLive
|
|
|
|
, fontconfig, freetype, pango, fontforge, help2man }:
|
2009-09-10 16:57:56 +00:00
|
|
|
|
2011-01-12 18:19:43 +00:00
|
|
|
stdenv.mkDerivation rec{
|
|
|
|
majorVersion="2.13";
|
|
|
|
minorVersion="46";
|
|
|
|
version="${majorVersion}.${minorVersion}";
|
|
|
|
name = "lilypond-${version}";
|
2009-09-10 16:57:56 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-01-12 18:19:43 +00:00
|
|
|
url = "http://download.linuxaudio.org/lilypond/sources/v${majorVersion}/lilypond-${version}.tar.gz";
|
|
|
|
sha256 = "370f59d10a3fc74c5790111f7a69e04304eda5384513c95838dda3cc087904e6";
|
2009-09-10 16:57:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [ "--disable-documentation" "--with-ncsb-dir=${ghostscript}/share/ghostscript/fonts"];
|
|
|
|
|
2010-07-28 18:01:17 +00:00
|
|
|
buildInputs =
|
|
|
|
[ ghostscript texinfo imagemagick texi2html guile
|
|
|
|
python gettext flex perl bison pkgconfig texLive fontconfig freetype pango
|
|
|
|
fontforge help2man
|
|
|
|
];
|
2009-09-10 16:57:56 +00:00
|
|
|
|
|
|
|
meta = {
|
2010-07-28 18:01:17 +00:00
|
|
|
description = "Music typesetting system";
|
2009-09-10 16:57:56 +00:00
|
|
|
homepage = http://lilypond.org/;
|
|
|
|
license = "GPL";
|
2010-07-28 18:01:17 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.marcweber ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-09-10 16:57:56 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
patches = [ ./findlib.patch ];
|
|
|
|
}
|