@@ -0,0 +1,30 @@
1+{ stdenv, fetchurl, unzip }:
2+
3+stdenv.mkDerivation rec {
4+ name = "overpass-${version}";
5+ version = "2.1";
6+
7+ src = fetchurl {
8+ url = "https://github.com/RedHatBrand/overpass/releases/download/2.1/overpass-fonts-ttf-2.1.zip";
9+ sha256 = "1kd7vbqffp5988j3p4zxkxajdmfviyv4y6rzk7jazg81xcsxicwf";
10+ };
11+
12+ nativeBuildInputs = [ unzip ];
13+
14+ phases = [ "unpackPhase" "installPhase" ];
15+
16+ installPhase = ''
17+ mkdir -p $out/share/doc/${name}
18+ mkdir -p $out/share/fonts/truetype
19+ cp -v *.ttf $out/share/fonts/truetype
20+ cp -v LICENSE.md README.md $out/share/doc/${name}
21+ '';
22+
23+ meta = with stdenv.lib; {
24+ homepage = http://overpassfont.org/;
25+ description = "Font heavily inspired by Highway Gothic";
26+ license = licenses.ofl;
27+ platforms = platforms.all;
28+ maintainers = [ maintainers.rycee ];
29+ };
30+}