2018-08-01 14:13:50 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "20180721";
|
2019-08-13 22:52:01 +01:00
|
|
|
in fetchFromGitHub {
|
2018-08-01 14:13:50 +01:00
|
|
|
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";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://ia.net/topics/in-search-of-the-perfect-writing-font";
|
2018-08-01 14:13:50 +01:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
};
|
|
|
|
}
|