2022-07-15 19:40:13 +00:00
|
|
|
{ callPackage, lib, fetchFromGitHub }:
|
2022-06-06 16:26:06 +00:00
|
|
|
|
|
|
|
let
|
2022-07-01 20:00:00 +00:00
|
|
|
sets = [ "comfy" "comfy-fixed" "comfy-duo" "comfy-wide" "comfy-wide-fixed" ];
|
2022-07-31 16:14:47 +00:00
|
|
|
version = "0.3.1";
|
2022-07-15 11:17:27 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "protesilaos";
|
|
|
|
repo = "iosevka-comfy";
|
|
|
|
rev = version;
|
2022-07-31 16:14:47 +00:00
|
|
|
sha256 = "sha256-SMy3Kqve65ZU13lf1vZQR61mH7gcl1DvIZt3yD6tIf4=";
|
2022-07-15 11:17:27 +00:00
|
|
|
};
|
|
|
|
privateBuildPlan = src.outPath + "/private-build-plans.toml";
|
2022-06-06 16:26:06 +00:00
|
|
|
overrideAttrs = (attrs: {
|
2022-07-15 11:17:27 +00:00
|
|
|
inherit version;
|
2022-07-01 19:59:27 +00:00
|
|
|
|
2022-06-06 16:26:06 +00: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 ];
|
|
|
|
};
|
|
|
|
});
|
2022-07-15 19:40:13 +00:00
|
|
|
makeIosevkaFont = set: (callPackage ./. {
|
|
|
|
inherit set privateBuildPlan;
|
2022-06-06 16:26:06 +00:00
|
|
|
}).overrideAttrs overrideAttrs;
|
|
|
|
in
|
|
|
|
builtins.listToAttrs (builtins.map (set: {name=set; value=makeIosevkaFont set;}) sets)
|