Browse Source

ia-writer-duospace: init at 20180721 (#43937)

nixos-19.03
Mario Rodas 4 years ago
committed by xeji
parent
commit
dc4abdfd86
  1. 26
      pkgs/data/fonts/ia-writer-duospace/default.nix
  2. 2
      pkgs/top-level/all-packages.nix

26
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 ];
};
}

2
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 { };

Loading…
Cancel
Save