dotfiles.nix/pkgs/ia-writer-family.nix

22 lines
445 B
Nix
Raw Normal View History

2022-11-22 01:36:15 +00:00
{ ia-writer-family-src, lib, stdenv }:
let
version = "20181224";
in
stdenv.mkDerivation {
name = "ia-writer-family-${version}";
src = ia-writer-family-src;
installPhase = ''
mkdir -p $out/share/fonts/truetype
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;
};
}