9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
31 lines
806 B
Nix
31 lines
806 B
Nix
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "unifont_upper";
|
|
version = "15.0.04";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/unifont/unifont-${version}/${pname}-${version}.ttf";
|
|
hash = "sha256-7iRcyKfGpv2rjVLPRNchxpXwj0KA5jlgDnCfG7byLLI=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 $src $out/share/fonts/truetype/unifont_upper.ttf
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
|
homepage = "https://unifoundry.com/unifont/";
|
|
|
|
# Basically GPL2+ with font exception.
|
|
license = "https://unifoundry.com/LICENSE.txt";
|
|
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|