mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
29 lines
795 B
Nix
29 lines
795 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "overpass";
|
|
version = "3.0.5";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/RedHatOfficial/Overpass/releases/download/v${version}/overpass-${version}.zip";
|
|
hash = "sha256-8AWT0/DELfNWXtZOejC90DbUSOtyGt9tSkcSuO7HP2o=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 */*/*.otf -t $out/share/fonts/opentype
|
|
install -Dm644 */*/*.ttf -t $out/share/fonts/truetype
|
|
install -Dm644 *.md -t $out/share/doc/${pname}-${version}
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
homepage = "https://overpassfont.org/";
|
|
description = "Font heavily inspired by Highway Gothic";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.rycee ];
|
|
};
|
|
}
|