From c0ebaebf996ef3e52d003dcfbfda30ccc0f5e7fc Mon Sep 17 00:00:00 2001 From: Cole Mickens Date: Wed, 9 Apr 2025 13:17:47 -0700 Subject: [PATCH] nebula-sans: init at 1.010 --- pkgs/by-name/ne/nebula-sans/package.nix | 33 +++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/by-name/ne/nebula-sans/package.nix diff --git a/pkgs/by-name/ne/nebula-sans/package.nix b/pkgs/by-name/ne/nebula-sans/package.nix new file mode 100644 index 000000000000..4f76bfea936e --- /dev/null +++ b/pkgs/by-name/ne/nebula-sans/package.nix @@ -0,0 +1,33 @@ +{ + lib, + stdenvNoCC, + fetchzip, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "nebula-sans"; + version = "1.010"; + + src = fetchzip { + url = "https://nebulasans.com/download/NebulaSans-${finalAttrs.version}.zip"; + stripRoot = false; + hash = "sha256-jFoHgxczU7VdZcVj7HI4OOjK28jcptu8sGOrs3O+0S0="; + }; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/fonts/truetype + mv TTF/*.ttf $out/share/fonts/truetype + + runHook postInstall + ''; + + meta = { + description = "Versatile, modern, humanist sans-serif with a neutral aesthetic, designed for legibility in both digital and print applications"; + maintainers = [ lib.maintainers.colemickens ]; + platforms = lib.platforms.all; + homepage = "https://nebulasans.com/"; + license = lib.licenses.ofl; + }; +})