blob: d441ac514d378eed25efe4fee457c55320846c92 (
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
|
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "overpass-${version}";
version = "2.1";
src = fetchurl {
url = "https://github.com/RedHatBrand/overpass/releases/download/2.1/overpass-fonts-ttf-2.1.zip";
sha256 = "1kd7vbqffp5988j3p4zxkxajdmfviyv4y6rzk7jazg81xcsxicwf";
};
nativeBuildInputs = [ unzip ];
phases = [ "unpackPhase" "installPhase" ];
installPhase = ''
mkdir -p $out/share/doc/${name}
mkdir -p $out/share/fonts/truetype
cp -v *.ttf $out/share/fonts/truetype
cp -v LICENSE.md README.md $out/share/doc/${name}
'';
meta = with stdenv.lib; {
homepage = http://overpassfont.org/;
description = "Font heavily inspired by Highway Gothic";
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.rycee ];
};
}
|