europa: install kurinto fonts
This commit is contained in:
parent
a77fa9ddb2
commit
54c04f6426
@ -231,6 +231,7 @@
|
||||
inherit pkgs;
|
||||
isUnstable = true;
|
||||
};
|
||||
kurinto = pkgs.callPackage ./pkgs/kurinto.nix { };
|
||||
mcchunkie = pkgs.callPackage ./pkgs/mcchunkie.nix {
|
||||
inherit pkgs;
|
||||
isUnstable = true;
|
||||
|
@ -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
29
pkgs/kurinto.nix
Normal 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 = [ ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user