diff options
author | tv <tv@krebsco.de> | 2023-01-27 13:10:35 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2023-01-27 13:51:06 +0100 |
commit | 09c1d8ce2eef60835b48b6f9826467860edfad86 (patch) | |
tree | fb32034deebb5cb2793fa14b37c11557dc53d6a2 /tv/5pkgs | |
parent | 1499d5c3934e873041069d6b84bb4704beb83ead (diff) |
tv iosevka 2: init at 15.6.3
Diffstat (limited to 'tv/5pkgs')
-rw-r--r-- | tv/5pkgs/override/iosevka-tv-2.nix | 26 | ||||
-rw-r--r-- | tv/5pkgs/simple/iosevka-tv-2.nix | 20 |
2 files changed, 46 insertions, 0 deletions
diff --git a/tv/5pkgs/override/iosevka-tv-2.nix b/tv/5pkgs/override/iosevka-tv-2.nix new file mode 100644 index 000000000..e4702f06c --- /dev/null +++ b/tv/5pkgs/override/iosevka-tv-2.nix @@ -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 diff --git a/tv/5pkgs/simple/iosevka-tv-2.nix b/tv/5pkgs/simple/iosevka-tv-2.nix new file mode 100644 index 000000000..888ba6a0c --- /dev/null +++ b/tv/5pkgs/simple/iosevka-tv-2.nix @@ -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"; +} |