mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
libre-baskerville: init at 1.000
This commit is contained in:
parent
470855ed82
commit
74de2c6b03
2 changed files with 35 additions and 0 deletions
33
pkgs/data/fonts/libre-baskerville/default.nix
Normal file
33
pkgs/data/fonts/libre-baskerville/default.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libre-baskerville-1.000";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "impallari";
|
||||
repo = "Libre-Baskerville";
|
||||
rev = "2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f";
|
||||
sha256 = "0i9ra6ip81zzjxl71p8zwa6ymlmkf4yi5ny22vlwx9a53kbf4ifl";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v *.ttf $out/share/fonts/truetype/
|
||||
cp -v README.md FONTLOG.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A webfont family optimized for body text";
|
||||
longDescription = ''
|
||||
Libre Baskerville is a webfont family optimized for body text. It's Based
|
||||
on 1941 ATF Baskerville Specimens but it has a taller x-height, wider
|
||||
counters and less contrast that allow it to work on small sizes in any
|
||||
screen.
|
||||
'';
|
||||
homepage = http://www.impallari.com/projects/overview/libre-baskerville;
|
||||
license = licenses.ofl;
|
||||
maintainers = with maintainers; [ cmfwyp ];
|
||||
platforms = platforms.all;
|
||||
};
|
||||
}
|
|
@ -12101,6 +12101,8 @@ in
|
|||
|
||||
libertine = callPackage ../data/fonts/libertine { };
|
||||
|
||||
libre-baskerville = callPackage ../data/fonts/libre-baskerville { };
|
||||
|
||||
lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {};
|
||||
|
||||
lmodern = callPackage ../data/fonts/lmodern { };
|
||||
|
|
Loading…
Reference in a new issue