summary refs log tree commit diff
path: root/pkgs/misc/lilypond/default.nix
blob: 358401238e5de54ff12c2aad87feb7fdd94172e7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# note: there is a jedit plugin
args: with args;

stdenv.mkDerivation {
  name = "lilypond-2.13.3";

  #src = sourceByName "lilypond";
  #preConfigure = "./autogen.sh";

  src = fetchurl {
    url = http://download.linuxaudio.org/lilypond/sources/v2.13/lilypond-2.13.3.tar.gz;
    sha256 = "1ihnkgpd19q3sns7k6wvx4x1ccb1cw9ins3qasfs5n7srhc3cvac";
  };

  configureFlags = [ "--disable-documentation" "--with-ncsb-dir=${ghostscript}/share/ghostscript/fonts"];
  # configureFlags = "--disable-documentation";

  buildInputs = [
    automake autoconf
    ghostscript texinfo imagemagick texi2html guile texinfo
    python gettext flex perl bison pkgconfig texLive fontconfig freetype pango
    fontforge help2man];


  meta = { 
    description = "music typesetting system";
    homepage = http://lilypond.org/;
    license = "GPL";
    maintainers = [args.lib.maintainers.marcweber];
    platforms = args.lib.platforms.linux;
  };

  patches = [ ./findlib.patch ];
}