summary refs log tree commit diff
path: root/pkgs/data/fonts/libre-bodoni
diff options
context:
space:
mode:
authorcmfwyp <cmfwyp@riseup.net>2016-09-10 21:28:14 -0400
committerRobert Helgesson <robert@rycee.net>2016-09-12 11:13:33 +0200
commitdb73ecc0f7e31010040563d2c5f14352afb647ce (patch)
tree3623bd3edc4ebcf93d07613d056bbf91903334e8 /pkgs/data/fonts/libre-bodoni
parent74de2c6b035e2ccd8692eecfd6e20b5716d792a9 (diff)
downloadnixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar.gz
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar.bz2
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar.lz
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar.xz
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.tar.zst
nixpkgs-db73ecc0f7e31010040563d2c5f14352afb647ce.zip
libre-bodoni: init at 2.000
Diffstat (limited to 'pkgs/data/fonts/libre-bodoni')
-rw-r--r--pkgs/data/fonts/libre-bodoni/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/data/fonts/libre-bodoni/default.nix b/pkgs/data/fonts/libre-bodoni/default.nix
new file mode 100644
index 00000000000..691d5556e8f
--- /dev/null
+++ b/pkgs/data/fonts/libre-bodoni/default.nix
@@ -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;
+  };
+}