nixpkgs/pkgs/misc/lilypond/unstable.nix
Eric Bailey 54e8c67375 lilypond-unstable: rework, 2.19.65 -> 2.19.83
- fetchurl -> fetchgit
- urw-fonts -> ghostscript/share/fonts
- overrideDerivation -> overrideAttrs
2019-06-10 12:30:29 -05:00

23 lines
515 B
Nix

{ stdenv, fetchgit, lilypond, ghostscript, gyre-fonts }:
let
version = "2.19.83";
in
lilypond.overrideAttrs (oldAttrs: {
inherit version;
src = fetchgit {
url = "https://git.savannah.gnu.org/r/lilypond.git";
rev = "release/${version}-1";
sha256 = "1ycyx9x76d79jh7wlwyyhdjkyrwnhzqpw006xn2fk35s0jrm2iz0";
};
configureFlags = [
"--disable-documentation"
"--with-urwotf-dir=${ghostscript}/share/ghostscript/fonts"
"--with-texgyre-dir=${gyre-fonts}/share/fonts/truetype/"
];
})