alice: init at 2.003

Open-source font by Ksenia Erulevich https://github.com/cyrealtype/Alice

+36
+34
pkgs/data/fonts/alice/default.nix
··· 1 + { lib, stdenv, fetchzip }: 2 + 3 + stdenv.mkDerivation (attrs: { 4 + pname = "Alice"; 5 + version = "2.003"; 6 + 7 + outputs = [ "out" "woff2" ]; 8 + 9 + src = fetchzip { 10 + url = with attrs; "https://github.com/cyrealtype/${pname}/releases/download/v${version}/${pname}-v${version}.zip"; 11 + stripRoot = false; 12 + hash = "sha256-p+tE3DECfJyBIPyafGZ8jDYQ1lPb+iAnEwLyaUy7DW0="; 13 + }; 14 + 15 + dontBuild = true; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 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 23 + 24 + runHook postInstall 25 + ''; 26 + 27 + meta = with lib; { 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 ]; 33 + }; 34 + })
+2
pkgs/top-level/all-packages.nix
··· 25933 25933 25934 25934 alegreya-sans = callPackage ../data/fonts/alegreya-sans { }; 25935 25935 25936 + alice = callPackage ../data/fonts/alice { }; 25937 + 25936 25938 alkalami = callPackage ../data/fonts/alkalami { }; 25937 25939 25938 25940 amber-theme = callPackage ../data/themes/amber { };