From 76b3a4643608994507e97d8af9984590a9ace19a Mon Sep 17 00:00:00 2001 From: Gavin Kondrath <78187175+gavink97@users.noreply.github.com> Date: Fri, 29 Aug 2025 07:44:21 +0700 Subject: [PATCH] bodoni-moda: init at 2.4-unstable-2024-02-18 --- pkgs/by-name/bo/bodoni-moda/package.nix | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/bo/bodoni-moda/package.nix diff --git a/pkgs/by-name/bo/bodoni-moda/package.nix b/pkgs/by-name/bo/bodoni-moda/package.nix new file mode 100644 index 000000000000..cd70f1f870b8 --- /dev/null +++ b/pkgs/by-name/bo/bodoni-moda/package.nix @@ -0,0 +1,33 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: +stdenvNoCC.mkDerivation { + pname = "bodoni-moda"; + version = "2.4-unstable-2024-02-18"; + + src = fetchFromGitHub { + owner = "indestructible-type"; + repo = "Bodoni"; + rev = "30ce6cdc354ef179a3b72ba0f0e71826e599348c"; + hash = "sha256-OQi+KKBM+BrmA2pDit6dib5krrQBba5dVCBd2/G5sIM="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/fonts/truetype + cp fonts/*/*.ttf $out/share/fonts/truetype + + runHook postInstall + ''; + + meta = { + homepage = "https://indestructibletype.com/Bodoni.html"; + description = "Bodoni Moda a modern no-compromises Bodoni family by indestructible type*"; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ gavink97 ]; + }; +}