2022-06-06 18:26:06 +02:00
|
|
|
{stdenv, lib, nodejs, nodePackages, remarshal, ttfautohint-nox, fetchurl}:
|
|
|
|
|
|
|
|
let
|
2022-07-01 22:00:00 +02:00
|
|
|
sets = [ "comfy" "comfy-fixed" "comfy-duo" "comfy-wide" "comfy-wide-fixed" ];
|
2022-06-06 18:26:06 +02:00
|
|
|
privateBuildPlan = builtins.readFile ./comfy-private-build-plans.toml;
|
|
|
|
overrideAttrs = (attrs: {
|
2022-07-01 22:00:00 +02:00
|
|
|
version = "0.2.1";
|
2022-07-01 21:59:27 +02:00
|
|
|
|
|
|
|
passthru = {
|
|
|
|
updateScript = ./update-comfy.sh;
|
|
|
|
};
|
|
|
|
|
2022-06-06 18:26:06 +02:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/protesilaos/iosevka-comfy";
|
|
|
|
description = ''
|
|
|
|
Custom build of Iosevka with a rounded style and open shapes,
|
|
|
|
adjusted metrics, and overrides for almost all individual glyphs
|
|
|
|
in both roman (upright) and italic (slanted) variants.
|
|
|
|
'';
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = attrs.meta.platforms;
|
|
|
|
maintainers = [ maintainers.DamienCassou ];
|
|
|
|
};
|
|
|
|
});
|
|
|
|
makeIosevkaFont = set: (import ./default.nix {
|
|
|
|
inherit stdenv lib nodejs nodePackages remarshal ttfautohint-nox set privateBuildPlan;
|
|
|
|
}).overrideAttrs overrideAttrs;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs (builtins.map (set: {name=set; value=makeIosevkaFont set;}) sets)
|