depot/third_party/nixpkgs/pkgs/data/fonts/ia-writer-duospace/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

30 lines
771 B
Nix

{ lib, stdenvNoCC, fetchFromGitHub }:
stdenvNoCC.mkDerivation {
pname = "ia-writer-duospace";
version = "unstable-2018-07-21";
src = fetchFromGitHub {
owner = "iaolo";
repo = "iA-Fonts";
rev = "55edf60f544078ab1e14987bc67e9029a200e0eb";
hash = "sha256-/ifzOScILLuFkjFIgpy0ArCcelgealbpypKvZ46xApU=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/opentype
cp "iA Writer Duospace/OTF (Mac)/"*.otf $out/share/fonts/opentype/
runHook postInstall
'';
meta = with lib; {
description = "iA Writer Duospace Typeface";
homepage = "https://ia.net/topics/in-search-of-the-perfect-writing-font";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.marsam ];
};
}