25 lines
562 B
Nix
25 lines
562 B
Nix
{ ia-writer-family-src, lib, stdenv }:
|
|
|
|
let
|
|
version = "20181224";
|
|
in
|
|
stdenv.mkDerivation {
|
|
name = "ia-writer-family-${version}";
|
|
|
|
src = ia-writer-family-src;
|
|
|
|
installPhase = ''
|
|
ls
|
|
mkdir -p $out/share/fonts/opentype
|
|
mkdir -p $out/share/fonts/truetype
|
|
cp "iA Writer Duospace/OTF (Mac)/"*.otf $out/share/fonts/opentype/
|
|
cp "iA Writer "{Mono,Duo,Quattro}/Variable/*.ttf $out/share/fonts/truetype/
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "iA Writer Typeface Family";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|