summary refs log tree commit diff
path: root/pkgs/data/fonts/iosevka
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-11-27 06:34:31 -0600
committerThomas Tuegel <ttuegel@mailbox.org>2017-11-27 08:22:48 -0600
commitbbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1 (patch)
tree4169595378478a9d7e88ae51c8a28e5e08ffa81f /pkgs/data/fonts/iosevka
parentf557844c082fd1b590be3eebec2a3a84acf6973c (diff)
downloadnixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar.gz
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar.bz2
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar.lz
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar.xz
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.tar.zst
nixpkgs-bbdbbc6766028c8962212c2f9d75f4d0ecb2e6f1.zip
iosevka-bin: init at 1.13.3
The former fetch-only expression is re-added as iosevka-bin to support platforms
without otfcc where Iosevka cannot be built.

See also: #31835
Diffstat (limited to 'pkgs/data/fonts/iosevka')
-rw-r--r--pkgs/data/fonts/iosevka/bin.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/fonts/iosevka/bin.nix b/pkgs/data/fonts/iosevka/bin.nix
new file mode 100644
index 00000000000..3ac8bd339a0
--- /dev/null
+++ b/pkgs/data/fonts/iosevka/bin.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchzip }:
+
+let
+  version = "1.13.3";
+in fetchzip rec {
+  name = "iosevka-bin-${version}";
+
+  url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
+
+  postFetch = ''
+    mkdir -p $out/share/fonts
+    unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
+  '';
+
+  sha256 = "0103rjxcp2sis42xp7fh7g8i03h5snvs8n78lgsf79g8ssw0p9d4";
+
+  meta = with stdenv.lib; {
+    homepage = https://be5invis.github.io/Iosevka/;
+    downloadPage = "https://github.com/be5invis/Iosevka/releases";
+    description = ''
+      Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
+      Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
+    '';
+    license = licenses.ofl;
+    platforms = platforms.all;
+    maintainers = [ maintainers.cstrahan ];
+  };
+}