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