europa: install kurinto fonts

This commit is contained in:
Aaron Bieber 2022-11-28 21:36:55 -07:00
parent a77fa9ddb2
commit 54c04f6426
No known key found for this signature in database
3 changed files with 32 additions and 1 deletions

View File

@ -231,6 +231,7 @@
inherit pkgs;
isUnstable = true;
};
kurinto = pkgs.callPackage ./pkgs/kurinto.nix { };
mcchunkie = pkgs.callPackage ./pkgs/mcchunkie.nix {
inherit pkgs;
isUnstable = true;

View File

@ -1,6 +1,7 @@
{ config, pkgs, lib, modulesPath, inputs, ... }:
let
myEmacs = pkgs.callPackage ../../configs/emacs.nix { };
kurinto = pkgs.callPackage ../../pkgs/kurinto.nix { };
peerixUser = if builtins.hasAttr "peerix" config.users.users then
config.users.users.peerix.name
else
@ -174,7 +175,7 @@ in {
zig
(callPackage ../../pkgs/zutty.nix { })
kurinto
];
# for Pharo

29
pkgs/kurinto.nix Normal file
View File

@ -0,0 +1,29 @@
{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "kurinto";
version = "2.197";
src = fetchzip {
url = "https://www.kurinto.com/zip/Kurinto_v${version}_Full.zip";
stripRoot = true;
sha256 = "sha256-ofROCmd4TeYmIfkbNGpg4qO4E80noAo+4LGDC/y90Dk=";
};
installPhase = ''
mkdir -p $out/share/fonts/truetype
mv */Fonts/*.ttf $out/share/fonts/truetype
'';
dontBuild = true;
meta = with lib; {
homepage = "https://www.kurinto.com/index.htm";
description =
"a large collection of free fonts that include most of the characters in every human language";
license = licenses.ofl;
maintainers = with maintainers; [ qbit ];
platforms = lib.platforms.all;
hydraPlatform = [ ];
};
}