tv iosevka 2: init at 15.6.3
This commit is contained in:
parent
1499d5c393
commit
09c1d8ce2e
26
tv/5pkgs/override/iosevka-tv-2.nix
Normal file
26
tv/5pkgs/override/iosevka-tv-2.nix
Normal 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
|
20
tv/5pkgs/simple/iosevka-tv-2.nix
Normal file
20
tv/5pkgs/simple/iosevka-tv-2.nix
Normal 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";
|
||||
}
|
Loading…
Reference in New Issue
Block a user