20 pname = "openlilypond-font-${fontName}";
22 src = fetchFromGitHub {
24 owner = "OpenLilyPondFonts";
29 local fontsdir="$out/share/lilypond/${lilypond.version}/fonts"
31 install -m755 -d "$fontsdir/otf"
35 for font in {otf,supplementary-fonts,supplementary-files}/**/*.{o,t}tf; do
37 install -Dt "$fontsdir/otf" -m644 "$font"
40 install -m755 -d "$fontsdir/svg"
41 for font in {svg,woff}/**.{svg,woff}; do
42 install -Dt "$fontsdir/svg" -m644 "$font"
47 inherit (lilypond.meta) homepage platforms;
48 description = "${fontName} font for LilyPond";
49 license = licenses.ofl;
50 maintainers = with maintainers; [ yurrriq ];
58 fontName = "beethoven";
60 sha256 = "17wdklg5shmqwnb7b81qavfg52v32wx5yf15c6al0hbvv1nqqj2i";
65 sha256 = "1p27w1c3bzxlnm6rzq8n7dbfjwbxqjy4r0fhkmk9jbm8awmzw214";
70 sha256 = "1zxb3m8glh8iwj8mzcgyaxhlq0bji0rwniw702m70h9kpifiim1j";
73 fontName = "gonville";
75 sha256 = "15khy9677crgd6bpajn7l1drysgxy49wiym3b248khgpavidwyy9";
77 gutenberg1939 = olpFont {
78 fontName = "gutenberg1939";
80 sha256 = "1lkhivmrx92z37zfrb5mkhzhwggyaga9cm0wl89r0n2f2kayyc7q";
85 sha256 = "1jmbhb2jm887sdc498l2jilpivq1d8lmmgdb8lp59lv8d9fx105z";
88 fontName = "improviso";
90 sha256 = "1clin9c74gjhhira12mwxynxn4b1ixij5bg04mvk828lbr740mfm";
92 lilyboulez = olpFont {
93 fontName = "lilyboulez";
95 sha256 = "0mq92x0rbgfb6s7ipgg2zcxika2si30w3ay89rp7m6vwca01649y";
98 fontName = "lilyjazz";
100 sha256 = "1z7px7k2sn7snnj7yfjv0p9axwbn452vn9ww9icmb1249b0d1qry";
102 lv-goldenage = olpFont {
103 fontName = "lv-goldenage";
105 sha256 = "03nbd1vmlaj7wkhsnl2lq09nafv7zj1k518zs966vclzah94qghp";
108 fontName = "paganini";
110 sha256 = "0gw9wr4hfn205j40rpgnfddhzhn9x4pwfinamj5b7607880nvx29";
113 fontName = "profondo";
115 sha256 = "0armwbg9y0l935949b7klngws6fq42fi944lws61qvjl61780br8";
120 sha256 = "1w2x3pd1d1z4x0107dpq95v7m547cj4nkkzxgqpmzfqa0074idqd";
122 scorlatti = olpFont {
123 fontName = "scorlatti";
125 sha256 = "07jam5hwdy6bydrm98cdla6p6rl8lmy8zzsfq46i55l64l3w956h";
127 sebastiano = olpFont {
128 fontName = "sebastiano";
130 sha256 = "09i8p3p4z6vz69j187cpxvikkgc4pk6gxippahy0k7i7bh0d4qaj";