summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/override
diff options
context:
space:
mode:
Diffstat (limited to 'tv/5pkgs/override')
-rw-r--r--tv/5pkgs/override/iosevka-tv-2.nix26
1 files changed, 26 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