2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "unifont_upper";
|
2024-09-26 11:04:55 +00:00
|
|
|
version = "16.0.01";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
2023-10-09 19:29:22 +00:00
|
|
|
url = "mirror://gnu/unifont/unifont-${version}/${pname}-${version}.otf";
|
2024-09-26 11:04:55 +00:00
|
|
|
hash = "sha256-5EUz6F3GlAMCOnA2xk0CplRUaLLACmewH/PiRtCRzsE=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
dontUnpack = true;
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
install -Dm644 $src $out/share/fonts/opentype/unifont_upper.otf
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
2021-08-06 21:57:35 +00:00
|
|
|
homepage = "https://unifoundry.com/unifont/";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
# Basically GPL2+ with font exception.
|
2021-08-06 21:57:35 +00:00
|
|
|
license = "https://unifoundry.com/LICENSE.txt";
|
2024-07-27 06:49:29 +00:00
|
|
|
maintainers = [ maintainers.mathnerd314 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|