presenterm: 0.9.0 -> 0.10.0 (#378946)
[NixPkgs.git] / pkgs / by-name / li / libre-bodoni / package.nix
blob46d8510ff56dcdebe02acef87acb6cf7db0509e5
2   lib,
3   stdenvNoCC,
4   fetchFromGitHub,
5 }:
7 stdenvNoCC.mkDerivation rec {
8   pname = "libre-bodoni";
9   version = "2.000";
11   src = fetchFromGitHub {
12     owner = "impallari";
13     repo = "Libre-Bodoni";
14     rev = "995a40e8d6b95411d660cbc5bb3f726ffd080c7d";
15     hash = "sha256-yfqVeT/JiAT+fsqkXUxqlz4sEEFwEJUdvFTAzuqejtk=";
16   };
18   installPhase = ''
19     runHook preInstall
21     install -m444 -Dt $out/share/fonts/opentype */v2000\ -\ initial\ glyphs\ migration/OTF/*.otf
22     install -m444 -Dt $out/share/doc/${pname}-${version} README.md FONTLOG.txt
24     runHook postInstall
25   '';
27   meta = with lib; {
28     description = "Bodoni fonts adapted for today's web requirements";
29     longDescription = ''
30       The Libre Bodoni fonts are based on the 19th century Morris Fuller
31       Benton's ATF design, but specifically adapted for today's web
32       requirements.
34       They are a perfect choice for everything related to elegance, style,
35       luxury and fashion.
37       Libre Bodoni currently features four styles: Regular, Italic, Bold and
38       Bold Italic.
39     '';
40     homepage = "https://github.com/impallari/Libre-Bodoni";
41     license = licenses.ofl;
42     maintainers = with maintainers; [ cmfwyp ];
43     platforms = platforms.all;
44   };