mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
overpass: init at 2.1
This commit is contained in:
parent
f72666e17e
commit
2398a66859
30
pkgs/data/fonts/overpass/default.nix
Normal file
30
pkgs/data/fonts/overpass/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user