blob: 480ed2a468c162e73debda128b43c1888764f633 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, stdenvNoCC, fetchzip }:
let
majorVersion = "0";
minorVersion = "200";
in
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "melete";
version = "${majorVersion}.${minorVersion}";
src = fetchzip {
url = "https://dotcolon.net/download/fonts/${finalAttrs.pname}_${majorVersion}${minorVersion}.zip";
hash = "sha256-y1xtNM1Oy92gOvbr9J71XNxb1JeTzOgxKms3G2YHK00=";
stripRoot = false;
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
meta = with lib; {
homepage = "http://dotcolon.net/font/${finalAttrs.pname}/";
description = "Headline typeface that could be used as a movie title";
platforms = platforms.all;
maintainers = with maintainers; [ minijackson ];
license = licenses.ofl;
};
})
|