2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "ia-writer-duospace";
|
|
|
|
version = "unstable-2018-07-21";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "iaolo";
|
|
|
|
repo = "iA-Fonts";
|
|
|
|
rev = "55edf60f544078ab1e14987bc67e9029a200e0eb";
|
|
|
|
hash = "sha256-/ifzOScILLuFkjFIgpy0ArCcelgealbpypKvZ46xApU=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
cp "iA Writer Duospace/OTF (Mac)/"*.otf $out/share/fonts/opentype/
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
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;
|
2024-05-15 15:35:15 +00:00
|
|
|
maintainers = [ ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|