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

19 lines
444 B
Nix
Raw Normal View History

2023-10-26 02:37:42 +00:00
{ stdenv, lib, ia-writer-family-src }:
stdenv.mkDerivation {
pname = "ia-writer-family";
version = ia-writer-family-src.shortRev;
2022-11-22 01:36:15 +00:00
src = ia-writer-family-src;
installPhase = ''
mkdir -p $out/share/fonts/truetype
cp "iA Writer "{Mono,Duo,Quattro}/Variable/*.ttf $out/share/fonts/truetype/
'';
2023-10-26 02:37:42 +00:00
meta = {
2022-11-22 01:36:15 +00:00
description = "iA Writer Typeface Family";
2023-10-26 02:37:42 +00:00
license = lib.licenses.ofl;
platforms = lib.platforms.all;
2022-11-22 01:36:15 +00:00
};
}