mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 16:15:05 +00:00
32 lines
806 B
Nix
32 lines
806 B
Nix
{ lib, stdenvNoCC, fetchurl }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "unifont_upper";
|
|
version = "15.1.02";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnu/unifont/unifont-${version}/${pname}-${version}.otf";
|
|
hash = "sha256-OTIwWA2p+7ldqEB5O6J18zU5RVoswC0t1G72fFeCKpU=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 $src $out/share/fonts/opentype/unifont_upper.otf
|
|
|
|
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;
|
|
};
|
|
}
|