2023-01-22 10:56:38 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "1";
|
|
|
|
minorVersion = "00";
|
|
|
|
in
|
2023-04-21 15:52:05 +00:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-01-22 10:56:38 +00:00
|
|
|
pname = "nacelle";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
2023-04-21 15:52:05 +00:00
|
|
|
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
|
2023-01-22 10:56:38 +00:00
|
|
|
hash = "sha256-e4QsPiyfWEAYHWdwR3CkGc2UzuA3hZPYYlWtIubY0Oo=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-04-21 15:52:05 +00:00
|
|
|
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
|
2023-01-22 10:56:38 +00:00
|
|
|
description = "A improved version of the Aileron font";
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ minijackson ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
};
|
|
|
|
})
|