Merge pull request #205899 from drupol/font/add-garamond-libre
garamond-libre: init at 1.4
This commit is contained in:
commit
708d255245
3 changed files with 33 additions and 0 deletions
|
@ -969,6 +969,11 @@ in mkLicense lset) ({
|
||||||
fullName = "wxWindows Library Licence, Version 3.1";
|
fullName = "wxWindows Library Licence, Version 3.1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
x11 = {
|
||||||
|
spdxId = "X11";
|
||||||
|
fullName = "X11 License";
|
||||||
|
};
|
||||||
|
|
||||||
xfig = {
|
xfig = {
|
||||||
fullName = "xfig";
|
fullName = "xfig";
|
||||||
url = "http://mcj.sourceforge.net/authors.html#xfig"; # https is broken
|
url = "http://mcj.sourceforge.net/authors.html#xfig"; # https is broken
|
||||||
|
|
26
pkgs/data/fonts/garamond-libre/default.nix
Normal file
26
pkgs/data/fonts/garamond-libre/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
|
fetchzip rec {
|
||||||
|
pname = "garamond-libre";
|
||||||
|
version = "1.4";
|
||||||
|
|
||||||
|
url = "https://github.com/dbenjaminmiller/garamond-libre/releases/download/${version}/garamond-libre_${version}.zip";
|
||||||
|
stripRoot = false;
|
||||||
|
|
||||||
|
postFetch = ''
|
||||||
|
install -Dm644 $out/*.otf -t $out/share/fonts/opentype
|
||||||
|
shopt -s extglob dotglob
|
||||||
|
rm -rf $out/!(share)
|
||||||
|
shopt -u extglob dotglob
|
||||||
|
'';
|
||||||
|
|
||||||
|
sha256 = "6WiuUe3CHXXL/0G7wURvSIgWPQ4isl50e3OBQ+ui0U4=";
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://github.com/dbenjaminmiller/garamond-libre";
|
||||||
|
description = "Garamond Libre font family";
|
||||||
|
maintainers = with maintainers; [ drupol ];
|
||||||
|
license = licenses.x11;
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
}
|
|
@ -26603,6 +26603,8 @@ with pkgs;
|
||||||
|
|
||||||
freepats = callPackage ../data/misc/freepats { };
|
freepats = callPackage ../data/misc/freepats { };
|
||||||
|
|
||||||
|
garamond-libre = callPackage ../data/fonts/garamond-libre { };
|
||||||
|
|
||||||
g15daemon = callPackage ../os-specific/linux/g15daemon {};
|
g15daemon = callPackage ../os-specific/linux/g15daemon {};
|
||||||
|
|
||||||
galatia-sil = callPackage ../data/fonts/galatia-sil { };
|
galatia-sil = callPackage ../data/fonts/galatia-sil { };
|
||||||
|
|
Loading…
Reference in a new issue