lilypond: rework
- fetchurl -> fetchgit - urwfonts -> ghostscript/share/fonts - Add me as maintainer
This commit is contained in:
parent
80b51d983a
commit
79478b8369
|
@ -1,26 +1,26 @@
|
||||||
{ stdenv, fetchurl, ghostscript, texinfo, imagemagick, texi2html, guile
|
{ stdenv, fetchgit, ghostscript, texinfo, imagemagick, texi2html, guile
|
||||||
, python2, gettext, flex, perl, bison, pkgconfig, autoreconfHook, dblatex
|
, python2, gettext, flex, perl, bison, pkgconfig, autoreconfHook, dblatex
|
||||||
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
|
, fontconfig, freetype, pango, fontforge, help2man, zip, netpbm, groff
|
||||||
, fetchsvn, makeWrapper, t1utils
|
, makeWrapper, t1utils
|
||||||
, texlive, tex ? texlive.combine {
|
, texlive, tex ? texlive.combine {
|
||||||
inherit (texlive) scheme-small lh metafont epsf;
|
inherit (texlive) scheme-small lh metafont epsf;
|
||||||
}
|
}
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec{
|
let
|
||||||
majorVersion="2.18";
|
|
||||||
minorVersion="2";
|
|
||||||
version="${majorVersion}.${minorVersion}";
|
|
||||||
name = "lilypond-${version}";
|
|
||||||
|
|
||||||
urwfonts = fetchsvn {
|
version = "2.18.2";
|
||||||
url = "http://svn.ghostscript.com/ghostscript/tags/urw-fonts-1.0.7pre44";
|
|
||||||
sha256 = "0al5vdsb66db6yzwi0qgs1dnd1i1fb77cigdjxg8zxhhwf6hhwpn";
|
|
||||||
};
|
|
||||||
|
|
||||||
src = fetchurl {
|
in
|
||||||
url = "http://download.linuxaudio.org/lilypond/sources/v${majorVersion}/lilypond-${version}.tar.gz";
|
|
||||||
sha256 = "01xs9x2wjj7w9appaaqdhk15r1xvvdbz9qwahzhppfmhclvp779j";
|
stdenv.mkDerivation {
|
||||||
|
pname = "lilypond";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
|
src = fetchgit {
|
||||||
|
url = "https://git.savannah.gnu.org/r/lilypond.git";
|
||||||
|
rev = "release/${version}-1";
|
||||||
|
sha256 = "0fk045fmmb6fcv7jdvkbqr04qlwnxzwclr2gzx3gja714xy6a76x";
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
@ -33,7 +33,10 @@ stdenv.mkDerivation rec{
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [ "--disable-documentation" "--with-ncsb-dir=${urwfonts}"];
|
configureFlags = [
|
||||||
|
"--disable-documentation"
|
||||||
|
"--with-ncsb-dir=${ghostscript}/share/ghostscript/fonts"
|
||||||
|
];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed -e "s@mem=mf2pt1@mem=$PWD/mf/mf2pt1@" -i scripts/build/mf2pt1.pl
|
sed -e "s@mem=mf2pt1@mem=$PWD/mf/mf2pt1@" -i scripts/build/mf2pt1.pl
|
||||||
|
@ -56,7 +59,7 @@ stdenv.mkDerivation rec{
|
||||||
description = "Music typesetting system";
|
description = "Music typesetting system";
|
||||||
homepage = http://lilypond.org/;
|
homepage = http://lilypond.org/;
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ maintainers.marcweber ];
|
maintainers = with maintainers; [ marcweber yurrriq ];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue