2023-01-22 10:17:49 +00:00
|
|
|
{ lib, stdenvNoCC, fetchzip }:
|
2018-08-19 23:56:48 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
majorVersion = "0";
|
|
|
|
minorVersion = "102";
|
|
|
|
in
|
2023-01-22 10:17:49 +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;
|
|
|
|
};
|
2018-08-19 23:56:48 +00:00
|
|
|
|
2023-01-22 10:17:49 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2018-08-19 23:56:48 +00:00
|
|
|
|
2023-01-22 10:17:49 +00:00
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
|
2018-08-19 23:56:48 +00:00
|
|
|
|
2023-01-22 10:17:49 +00:00
|
|
|
runHook postInstall
|
2018-08-19 23:56:48 +00:00
|
|
|
'';
|
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2023-01-22 10:17:49 +00:00
|
|
|
homepage = "http://dotcolon.net/font/${self.pname}/";
|
2018-08-19 23:56:48 +00:00
|
|
|
description = "A helvetica font in nine weights";
|
|
|
|
platforms = platforms.all;
|
2023-01-22 10:17:49 +00:00
|
|
|
maintainers = with maintainers; [ leenaars minijackson ];
|
2018-08-19 23:56:48 +00:00
|
|
|
license = licenses.cc0;
|
|
|
|
};
|
2023-01-22 10:17:49 +00:00
|
|
|
})
|