nixpkgs/pkgs/data/fonts/unifont_upper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
806 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2015-10-18 05:05:26 +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
src = fetchurl {
url = "mirror://gnu/unifont/unifont-${version}/${pname}-${version}.otf";
2023-09-28 09:15:26 +00:00
hash = "sha256-OTIwWA2p+7ldqEB5O6J18zU5RVoswC0t1G72fFeCKpU=";
};
2015-10-18 05:05:26 +00:00
dontUnpack = true;
2022-06-15 22:28:23 +00:00
installPhase = ''
runHook preInstall
2022-06-15 22:28:23 +00:00
install -Dm644 $src $out/share/fonts/opentype/unifont_upper.otf
2015-10-18 05:05:26 +00:00
runHook postInstall
'';
2015-10-18 05:05:26 +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;
};
}