2023-01-30 12:22:54 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2015-10-18 05:05:26 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "unifont_upper";
|
2023-09-28 09:15:26 +00:00
|
|
|
version = "15.1.02";
|
2015-10-18 05:05:26 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
src = fetchurl {
|
2023-09-22 17:27:08 +00:00
|
|
|
url = "mirror://gnu/unifont/unifont-${version}/${pname}-${version}.otf";
|
2023-09-28 09:15:26 +00:00
|
|
|
hash = "sha256-OTIwWA2p+7ldqEB5O6J18zU5RVoswC0t1G72fFeCKpU=";
|
2023-01-30 12:22:54 +00:00
|
|
|
};
|
2015-10-18 05:05:26 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
dontUnpack = true;
|
2022-06-15 22:28:23 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2022-06-15 22:28:23 +00:00
|
|
|
|
2023-09-22 17:27:08 +00:00
|
|
|
install -Dm644 $src $out/share/fonts/opentype/unifont_upper.otf
|
2015-10-18 05:05:26 +00:00
|
|
|
|
2023-01-30 12:22:54 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2015-10-18 05:05:26 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2015-10-18 05:05:26 +00:00
|
|
|
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
|
2021-08-05 20:57:53 +00:00
|
|
|
homepage = "https://unifoundry.com/unifont/";
|
2015-10-18 05:05:26 +00:00
|
|
|
|
|
|
|
# Basically GPL2+ with font exception.
|
2021-08-05 20:57:53 +00:00
|
|
|
license = "https://unifoundry.com/LICENSE.txt";
|
2016-07-04 17:34:21 +00:00
|
|
|
maintainers = [ maintainers.mathnerd314 maintainers.vrthra ];
|
2015-10-18 05:05:26 +00:00
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|