diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 662d3097a5f1..de681b37fa65 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -13257,6 +13257,12 @@ githubId = 3521180; name = "Tom Sydney Kerckhove"; }; + nosewings = { + name = "Nicholas Coltharp"; + email = "coltharpnicholas@gmail.com"; + github = "nosewings"; + githubId = 24929858; + }; NotAShelf = { name = "NotAShelf"; email = "raf@notashelf.dev"; diff --git a/pkgs/data/fonts/quivira/default.nix b/pkgs/data/fonts/quivira/default.nix new file mode 100644 index 000000000000..8affc4f6c729 --- /dev/null +++ b/pkgs/data/fonts/quivira/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5eec9226287d..5a971c26f4b6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -30013,6 +30013,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 { };