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 000000000000..a042a31f1d02 --- /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 3b2347d15e13..bd99385cc359 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 { };