mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
vollkorn: init at 4.105
adding a popular Serif font
This commit is contained in:
parent
37dd39ff87
commit
b4ac48f0c2
29
pkgs/data/fonts/vollkorn/default.nix
Normal file
29
pkgs/data/fonts/vollkorn/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{ lib, stdenv, fetchzip }:
|
||||
let
|
||||
pname = "vollkorn";
|
||||
version = "4.105";
|
||||
in
|
||||
fetchzip {
|
||||
name = "${pname}-${version}";
|
||||
url = "http://vollkorn-typeface.com/download/vollkorn-4-105.zip";
|
||||
sha256 = "0srff2nqs7353mqcpmvaq156lamfh621py4h1771n0l9ix2c8mss";
|
||||
stripRoot = false;
|
||||
|
||||
postFetch = ''
|
||||
mkdir -pv $out/share/{doc/${pname}-${version},fonts/{opentype,truetype,WOFF,WOFF2}}
|
||||
unzip $downloadedFile
|
||||
cp -v {Fontlog,OFL-FAQ,OFL}.txt $out/share/doc/${pname}-${version}/
|
||||
cp -v PS-OTF/*.otf $out/share/fonts/opentype
|
||||
cp -v TTF/*.ttf $out/share/fonts/truetype
|
||||
cp -v WOFF/*.woff $out/share/fonts/WOFF
|
||||
cp -v WOFF2/*.woff2 $out/share/fonts/WOFF2
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "http://vollkorn-typeface.com/";
|
||||
description = "The free and healthy typeface for bread and butter use";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.schmittlauch ];
|
||||
};
|
||||
}
|
@ -21464,6 +21464,8 @@ in
|
||||
|
||||
vistafonts-chs = callPackage ../data/fonts/vista-fonts-chs { };
|
||||
|
||||
vollkorn = callPackage ../data/fonts/vollkorn { };
|
||||
|
||||
weather-icons = callPackage ../data/fonts/weather-icons { };
|
||||
|
||||
wireless-regdb = callPackage ../data/misc/wireless-regdb { };
|
||||
|
Loading…
Reference in New Issue
Block a user