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