2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "0";
|
|
|
|
minorVersion = "102";
|
|
|
|
in
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation (self: {
|
|
|
|
pname = "aileron";
|
|
|
|
version = "${majorVersion}.${minorVersion}";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://dotcolon.net/download/fonts/${self.pname}_${majorVersion}${minorVersion}.zip";
|
|
|
|
hash = "sha256-Ht48gwJZrn0djo1yl6jHZ4+0b710FVwStiC1Zk5YXME=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
runHook postInstall
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
2023-02-02 18:25:31 +00:00
|
|
|
homepage = "http://dotcolon.net/font/${self.pname}/";
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A helvetica font in nine weights";
|
|
|
|
platforms = platforms.all;
|
2023-02-02 18:25:31 +00:00
|
|
|
maintainers = with maintainers; [ leenaars minijackson ];
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.cc0;
|
|
|
|
};
|
2023-02-02 18:25:31 +00:00
|
|
|
})
|