summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2018-08-01 08:13:50 -0500
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-01 15:13:50 +0200
commitdc4abdfd869596ea2d9fd4a48a4309632ee36368 (patch)
treee0d3a16e72e932f864baa30142a78d26b487178c /pkgs
parent186cf1c4d69b02cbe208c8d21ded426ee8852c45 (diff)
downloadnixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar.gz
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar.bz2
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar.lz
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar.xz
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.tar.zst
nixpkgs-dc4abdfd869596ea2d9fd4a48a4309632ee36368.zip
ia-writer-duospace: init at 20180721 (#43937)
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/data/fonts/ia-writer-duospace/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/data/fonts/ia-writer-duospace/default.nix b/pkgs/data/fonts/ia-writer-duospace/default.nix
new file mode 100644
index 00000000000..a042a31f1d0
--- /dev/null
+++ b/pkgs/data/fonts/ia-writer-duospace/default.nix
@@ -0,0 +1,26 @@
+{ lib, fetchFromGitHub }:
+
+let
+  version = "20180721";
+in fetchFromGitHub rec {
+  name = "ia-writer-duospace-${version}";
+
+  owner = "iaolo";
+  repo = "iA-Fonts";
+  rev = "55edf60f544078ab1e14987bc67e9029a200e0eb";
+  sha256 = "0932lcxf861vb3hz52z1xj8r99ag9sdyqsnq9brv7gc4kp2l339c";
+
+  postFetch = ''
+    tar --strip-components=1 -xzvf $downloadedFile
+    mkdir -p $out/share/fonts/opentype
+    cp "iA Writer Duospace/OTF (Mac)/"*.otf $out/share/fonts/opentype/
+  '';
+
+  meta = with lib; {
+    description = "iA Writer Duospace Typeface";
+    homepage = https://ia.net/topics/in-search-of-the-perfect-writing-font;
+    license = licenses.ofl;
+    platforms = platforms.all;
+    maintainers = [ maintainers.marsam ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 3b2347d15e1..bd99385cc35 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -14766,6 +14766,8 @@ with pkgs;
 
   hanazono = callPackage ../data/fonts/hanazono { };
 
+  ia-writer-duospace = callPackage ../data/fonts/ia-writer-duospace { };
+
   ibm-plex = callPackage ../data/fonts/ibm-plex { };
 
   iconpack-obsidian = callPackage ../data/icons/iconpack-obsidian { };