quivira: init at 4.1

This commit is contained in:
Nicholas Coltharp 2023-01-31 16:37:00 -06:00 committed by Emily Trau
parent cd5d34fe4e
commit 2c498bff9c
2 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, fetchurl }:
let
pname = "quivira";
version = "4.1";
in fetchurl {
name = "${pname}-${version}";
url = "http://www.quivira-font.com/files/Quivira.otf";
# Download the source file to a temporary directory so that $out can be a
# directory with the expected structure.
downloadToTemp = true;
# recursiveHash needs to be true because $out is going to be a directory.
recursiveHash = true;
postFetch = ''
install -D $downloadedFile $out/share/fonts/opentype/Quivira.otf
'';
sha256 = "Hhl+0Oc5DDohOpBbEARMunMYCpr6nn4X6RgpQeEksNo=";
meta = {
description = "a free Unicode font in the OpenType format which is supported by every usual office program or printer";
homepage = "http://www.quivira-font.com/";
license = lib.licenses.publicDomain;
maintainers = [ lib.maintainers.nosewings ];
# From the homepage: "If you try to install Quivira on a Mac,
# you will get an error message about the 'post table
# usability'."
platforms = lib.filter (platform: !lib.hasInfix "darwin" platform) lib.platforms.all;
};
}

View File

@ -29998,6 +29998,8 @@ with pkgs;
quattrocento-sans = callPackage ../data/fonts/quattrocento-sans { };
quivira = callPackage ../data/fonts/quivira { };
raleway = callPackage ../data/fonts/raleway { };
recursive = callPackage ../data/fonts/recursive { };