mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
54e8c67375
- fetchurl -> fetchgit - urw-fonts -> ghostscript/share/fonts - overrideDerivation -> overrideAttrs
24 lines
515 B
Nix
24 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/"
|
|
];
|
|
})
|