2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2016-09-11 02:28:14 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
fetchFromGitHub rec {
|
2016-09-11 02:28:14 +01:00
|
|
|
name = "libre-bodoni-2.000";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
owner = "impallari";
|
|
|
|
repo = "Libre-Bodoni";
|
|
|
|
rev = "995a40e8d6b95411d660cbc5bb3f726ffd080c7d";
|
2016-09-11 02:28:14 +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/opentype */v2000\ -\ initial\ glyphs\ migration/OTF/*.otf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} README.md FONTLOG.txt
|
2016-09-11 02:28:14 +01:00
|
|
|
'';
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
sha256 = "0my0i5a7f0d27m6dcdirjmlcnswqqfp8gl3ccxa5f2wkn3qlzkvz";
|
2017-08-10 20:43:49 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2016-09-11 02:28:14 +01:00
|
|
|
description = "Bodoni fonts adapted for today's web requirements";
|
|
|
|
longDescription = ''
|
|
|
|
The Libre Bodoni fonts are based on the 19th century Morris Fuller
|
|
|
|
Benton's ATF design, but specifically adapted for today's web
|
|
|
|
requirements.
|
|
|
|
|
|
|
|
They are a perfect choice for everything related to elegance, style,
|
|
|
|
luxury and fashion.
|
|
|
|
|
|
|
|
Libre Bodoni currently features four styles: Regular, Italic, Bold and
|
|
|
|
Bold Italic.
|
|
|
|
'';
|
|
|
|
homepage = https://github.com/impallari/Libre-Bodoni;
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ cmfwyp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|