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