lol
1{ lib, fetchzip }:
2
3let
4 majorVersion = "0";
5 minorVersion = "200";
6 pname = "ferrum";
7in
8
9fetchzip {
10 name = "${pname}-font-${majorVersion}.${minorVersion}";
11
12 url = "http://dotcolon.net/DL/font/${pname}.zip";
13 sha256 = "1w1b3ch7ik4264f05lxms01ls0aargvlx770a9szm682dfmizn8w";
14
15 postFetch = ''
16 mkdir -p $out/share/fonts/opentype/${pname}
17 unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
18 '';
19
20 meta = with lib; {
21 homepage = "http://dotcolon.net/font/${pname}/";
22 description = "A decorative font";
23 platforms = platforms.all;
24 maintainers = with maintainers; [ leenaars ];
25 license = licenses.cc0;
26 };
27}