depot/third_party/nixpkgs/pkgs/by-name/ia/ia-writer-quattro/package.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

31 lines
769 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub, }:
stdenvNoCC.mkDerivation {
pname = "ia-writer-quattro";
version = "unstable-2023-06-16";
src = fetchFromGitHub {
owner = "iaolo";
rev = "f32c04c3058a75d7ce28919ce70fe8800817491b";
repo = "iA-fonts";
hash = "sha256-2T165nFfCzO65/PIHauJA//S+zug5nUwPcg8NUEydfc=";
};
dontConfigure = true;
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
cp -R $src/iA\ Writer\ Quattro/Static/*.ttf $out/share/fonts/truetype
runHook postInstall
'';
meta = with lib; {
description = "iA Writer Quattro Typeface";
homepage = "https://github.com/iaolo/iA-Fonts";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.x0ba ];
};
}