2023-01-30 09:25:57 +00:00
|
|
|
{ lib, stdenvNoCC, fetchFromGitHub }:
|
2016-09-11 01:28:14 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "libre-bodoni";
|
|
|
|
version = "2.000";
|
2016-09-11 01:28:14 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "impallari";
|
|
|
|
repo = "Libre-Bodoni";
|
|
|
|
rev = "995a40e8d6b95411d660cbc5bb3f726ffd080c7d";
|
|
|
|
hash = "sha256-yfqVeT/JiAT+fsqkXUxqlz4sEEFwEJUdvFTAzuqejtk=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2016-09-11 01:28:14 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
install -m444 -Dt $out/share/fonts/opentype */v2000\ -\ initial\ glyphs\ migration/OTF/*.otf
|
2023-01-30 09:25:57 +00:00
|
|
|
install -m444 -Dt $out/share/doc/${pname}-${version} README.md FONTLOG.txt
|
2016-09-11 01:28:14 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2019-05-13 01:55:32 +00:00
|
|
|
meta = with lib; {
|
2016-09-11 01:28:14 +00: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.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/impallari/Libre-Bodoni";
|
2016-09-11 01:28:14 +00:00
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ cmfwyp ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|