fraunces: init at 1.000
This commit is contained in:
parent
4f5156fdb9
commit
322aaa9b19
2 changed files with 27 additions and 0 deletions
25
pkgs/data/fonts/fraunces/default.nix
Normal file
25
pkgs/data/fonts/fraunces/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib, fetchzip }:
|
||||
let
|
||||
version = "1.000";
|
||||
in
|
||||
fetchzip {
|
||||
name = "fraunces-${version}";
|
||||
|
||||
url = "https://github.com/undercasetype/Fraunces/releases/download/${version}/UnderCaseType_Fraunces_${version}.zip";
|
||||
|
||||
sha256 = "0qgl140qkn9p87x7pk60fd3lj206y5h0fq2xkcj2qiv3sxbqxwqb";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/
|
||||
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A display, “Old Style” soft-serif typeface inspired by early 20th century typefaces";
|
||||
homepage = "https://github.com/undercasetype/Fraunces";
|
||||
license = licenses.ofl;
|
||||
maintainers = [ maintainers.marsam ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -19183,6 +19183,8 @@ in
|
|||
font-awesome_5 = (callPackage ../data/fonts/font-awesome-5 { }).v5;
|
||||
font-awesome = font-awesome_5;
|
||||
|
||||
fraunces = callPackage ../data/fonts/fraunces { };
|
||||
|
||||
freefont_ttf = callPackage ../data/fonts/freefont-ttf { };
|
||||
|
||||
freepats = callPackage ../data/misc/freepats { };
|
||||
|
|
Loading…
Reference in a new issue