Merge pull request #205899 from drupol/font/add-garamond-libre

garamond-libre: init at 1.4

authored by Sandro and committed by GitHub 708d2552 f8d17702

+33
+5
lib/licenses.nix
··· 969 969 fullName = "wxWindows Library Licence, Version 3.1"; 970 970 }; 971 971 972 + x11 = { 973 + spdxId = "X11"; 974 + fullName = "X11 License"; 975 + }; 976 + 972 977 xfig = { 973 978 fullName = "xfig"; 974 979 url = "http://mcj.sourceforge.net/authors.html#xfig"; # https is broken
+26
pkgs/data/fonts/garamond-libre/default.nix
··· 1 + { lib, fetchzip }: 2 + 3 + fetchzip rec { 4 + pname = "garamond-libre"; 5 + version = "1.4"; 6 + 7 + url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip"; 8 + stripRoot = false; 9 + 10 + postFetch = '' 11 + install -Dm644 $out/*.otf -t $out/share/fonts/opentype 12 + shopt -s extglob dotglob 13 + rm -rf $out/!(share) 14 + shopt -u extglob dotglob 15 + ''; 16 + 17 + sha256 = "6WiuUe3CHXXL/0G7wURvSIgWPQ4isl50e3OBQ+ui0U4="; 18 + 19 + meta = with lib; { 20 + homepage = "https://github.com/dbenjaminmiller/garamond-libre"; 21 + description = "Garamond Libre font family"; 22 + maintainers = with maintainers; [ drupol ]; 23 + license = licenses.x11; 24 + platforms = platforms.all; 25 + }; 26 + }
+2
pkgs/top-level/all-packages.nix
··· 26603 26603 26604 26604 freepats = callPackage ../data/misc/freepats { }; 26605 26605 26606 + garamond-libre = callPackage ../data/fonts/garamond-libre { }; 26607 + 26606 26608 g15daemon = callPackage ../os-specific/linux/g15daemon {}; 26607 26609 26608 26610 galatia-sil = callPackage ../data/fonts/galatia-sil { };