forked from mirrors/nixpkgs
libre-bodoni: init at 2.000
This commit is contained in:
parent
74de2c6b03
commit
db73ecc0f7
38
pkgs/data/fonts/libre-bodoni/default.nix
Normal file
38
pkgs/data/fonts/libre-bodoni/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ stdenv, fetchFromGitHub }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libre-bodoni-2.000";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "impallari";
|
||||
repo = "Libre-Bodoni";
|
||||
rev = "995a40e8d6b95411d660cbc5bb3f726ffd080c7d";
|
||||
sha256 = "1ncfkvmcxh2lphfra43h8482qglpd965v96agvz092697xwrbyn9";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
mkdir -p $out/share/doc/${name}
|
||||
cp -v "fonts/v2000 - initial glyphs migration/OTF/"*.otf $out/share/fonts/opentype/
|
||||
cp -v README.md FONTLOG.txt $out/share/doc/${name}
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
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;
|
||||
};
|
||||
}
|
|
@ -12103,6 +12103,8 @@ in
|
|||
|
||||
libre-baskerville = callPackage ../data/fonts/libre-baskerville { };
|
||||
|
||||
libre-bodoni = callPackage ../data/fonts/libre-bodoni { };
|
||||
|
||||
lmmath = callPackage ../data/fonts/lmodern/lmmath.nix {};
|
||||
|
||||
lmodern = callPackage ../data/fonts/lmodern { };
|
||||
|
|
Loading…
Reference in a new issue