tv iosevka 2: init at 15.6.3

This commit is contained in:
tv 2023-01-27 13:10:35 +01:00
parent 1499d5c393
commit 09c1d8ce2e
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,26 @@
self: super:
let
prebuilt =
self.stdenv.mkDerivation rec {
pname = "iosevka-tv-2";
version = "15.6.3";
src = self.fetchurl {
urls = [
"https://c.krebsco.de/iosevka-tv-2-${version}.tar.gz"
"https://ni.krebsco.de/~tv/mirrors/iosevka/iosevka-tv-2-${version}.tar.gz"
];
hash = "sha256-W2bOlM0dYKAt+k2OpNJsNx6/hWEItJ2Tob8thtJJ1BA=";
};
installPhase = ''
mkdir $out
mv * $out/
'';
};
in
if super.iosevka.version == prebuilt.version then
prebuilt
else
super.iosevka-tv-2

View File

@ -0,0 +1,20 @@
{ pkgs }:
pkgs.iosevka.override {
# https://typeof.net/Iosevka/customizer
privateBuildPlan = {
family = "iosevka tv 2";
spacing = "term";
serifs = "sans";
export-glyph-names = true;
no-ligation = true;
no-cv-ss = false;
variants.inherits = "ss10";
widths.normal.shape = 600;
widths.normal.menu = 5;
widths.normal.css = "normal";
};
set = "tv-2";
}