diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-08-01 08:13:50 -0500 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-08-01 15:13:50 +0200 |
commit | dc4abdfd869596ea2d9fd4a48a4309632ee36368 (patch) | |
tree | e0d3a16e72e932f864baa30142a78d26b487178c /pkgs/data/fonts/ia-writer-duospace | |
parent | 186cf1c4d69b02cbe208c8d21ded426ee8852c45 (diff) |
ia-writer-duospace: init at 20180721 (#43937)
Diffstat (limited to 'pkgs/data/fonts/ia-writer-duospace')
-rw-r--r-- | pkgs/data/fonts/ia-writer-duospace/default.nix | 26 |
1 files changed, 26 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 0000000000000..a042a31f1d02e --- /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 ]; + }; +} |