overpass: init at 2.1

This commit is contained in:
Robert Helgesson 2016-10-14 23:07:04 +02:00
parent f72666e17e
commit 2398a66859
No known key found for this signature in database
GPG Key ID: C3DB11069E65DC86
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,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 ];
};
}

View File

@ -11750,6 +11750,8 @@ in
orbitron = callPackage ../data/fonts/orbitron { };
overpass = callPackage ../data/fonts/overpass { };
oxygenfonts = callPackage ../data/fonts/oxygenfonts { };
paper-icon-theme = callPackage ../data/icons/paper-icon-theme { };