2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2016-09-11 02:27:30 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
fetchFromGitHub rec {
|
2016-09-11 02:27:30 +01:00
|
|
|
name = "libre-baskerville-1.000";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
owner = "impallari";
|
|
|
|
repo = "Libre-Baskerville";
|
|
|
|
rev = "2fba7c8e0a8f53f86efd3d81bc4c63674b0c613f";
|
2016-09-11 02:27:30 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2019-05-13 02:55:32 +01:00
|
|
|
tar xf $downloadedFile --strip=1
|
|
|
|
install -m444 -Dt $out/share/fonts/truetype *.ttf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
|
2016-09-11 02:27:30 +01:00
|
|
|
'';
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "1kpji85d1mgwq8b4fh1isznrhsrv32la3wf058rwjmhx5a3l7yaj";
|
2017-08-10 20:43:49 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2016-09-11 02:27:30 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|