diff --git a/flake.nix b/flake.nix index 3251e02..72a4ae4 100644 --- a/flake.nix +++ b/flake.nix @@ -231,6 +231,7 @@ inherit pkgs; isUnstable = true; }; + kurinto = pkgs.callPackage ./pkgs/kurinto.nix { }; mcchunkie = pkgs.callPackage ./pkgs/mcchunkie.nix { inherit pkgs; isUnstable = true; diff --git a/hosts/europa/default.nix b/hosts/europa/default.nix index 8772759..d3ce01e 100644 --- a/hosts/europa/default.nix +++ b/hosts/europa/default.nix @@ -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 diff --git a/pkgs/kurinto.nix b/pkgs/kurinto.nix new file mode 100644 index 0000000..ee79528 --- /dev/null +++ b/pkgs/kurinto.nix @@ -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 = [ ]; + }; +}