1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation (attrs: {
7 outputs = [ "out" "woff2" ];
10 url = with attrs; "https://github.com/cyrealtype/${pname}/releases/download/v${version}/${pname}-v${version}.zip";
12 hash = "sha256-p+tE3DECfJyBIPyafGZ8jDYQ1lPb+iAnEwLyaUy7DW0=";
20 install -m444 -Dt $out/share/fonts/truetype fonts/ttf/*.ttf
21 install -m444 -Dt $out/share/fonts/opentype fonts/otf/*.otf
22 install -m444 -Dt $woff2/share/fonts/woff2 fonts/webfonts/*.woff2
28 description = "Open-source font by Ksenia Erulevich";
29 homepage = "https://github.com/cyrealtype/Alice";
30 license = licenses.ofl;
31 platforms = platforms.all;
32 maintainers = with maintainers; [ ncfavier ];