lol
1{ lib, fetchurl }:
2
3let
4 version = "0.52";
5in fetchurl {
6 name = "edwin-${version}";
7
8 url = "https://github.com/MuseScoreFonts/Edwin/archive/refs/tags/v${version}.tar.gz";
9
10 downloadToTemp = true;
11
12 recursiveHash = true;
13
14 sha256 = "sha256-e0ADK72ECl+QMvLWtFJfeHBmuEwzr9M+Kqvkd5Z2mmo=";
15
16 postFetch = ''
17 tar xzf $downloadedFile
18 mkdir -p $out/share/fonts/opentype
19 install Edwin-${version}/*.otf $out/share/fonts/opentype
20 '';
21
22 meta = with lib; {
23 description = "A text font for musical scores";
24 homepage = "https://github.com/MuseScoreFonts/Edwin";
25 license = licenses.ofl;
26 platforms = platforms.all;
27 maintainers = with maintainers; [ fortuneteller2k ];
28 };
29}