From 2d07b69bf0ed5708768824ca07ed3da0ddff671e Mon Sep 17 00:00:00 2001 From: Noah Gitsham Date: Mon, 26 Aug 2024 23:07:30 +0100 Subject: [PATCH 1/2] maintainers: add noahgitsham --- maintainers/maintainer-list.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index f756e9314f62..c0e6570ba907 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -14924,6 +14924,11 @@ github = "noaccOS"; githubId = 24324352; }; + noahgitsham = { + name = "Noah Gitsham"; + github = "noahgitsham"; + githubId = 73707948; + }; nobbz = { name = "Norbert Melzer"; email = "timmelzer+nixpkgs@gmail.com"; From 7855201741d7fac25d4458e448b1d63c3c8283d1 Mon Sep 17 00:00:00 2001 From: Noah Gitsham Date: Mon, 26 Aug 2024 23:08:11 +0100 Subject: [PATCH 2/2] fragment-mono: init at 1.21 --- pkgs/by-name/fr/fragment-mono/package.nix | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/fr/fragment-mono/package.nix diff --git a/pkgs/by-name/fr/fragment-mono/package.nix b/pkgs/by-name/fr/fragment-mono/package.nix new file mode 100644 index 000000000000..6a860a27049f --- /dev/null +++ b/pkgs/by-name/fr/fragment-mono/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenvNoCC, + fetchzip, +}: + +stdenvNoCC.mkDerivation (finalAttrs: { + pname = "fragment-mono"; + version = "1.21"; + + src = fetchzip { + url = "https://github.com/weiweihuanghuang/fragment-mono/releases/download/${finalAttrs.version}/fragment-mono-${finalAttrs.version}.zip"; + hash = "sha256-H5s4rYDN2d0J+zVRgBzg8vfZXCA/jjHrGBV8o8Dxutc="; + }; + + installPhase = '' + runHook preInstall + + install -Dm644 fonts/ttf/*.ttf -t $out/share/fonts/truetype + + runHook postInstall + ''; + + meta = { + homepage = "https://github.com/weiweihuanghuang/fragment-mono"; + description = "Helvetica Monospace Coding Font"; + changelog = "https://github.com/weiweihuanghuang/fragment-mono/releases/tag/${finalAttrs.version}"; + longDescription = '' + Fragment Mono is a monospaced coding version of Helvetica created + by modifying and extending Nimbus Sans by URW Design Studio. + ''; + license = lib.licenses.ofl; + platforms = lib.platforms.all; + maintainers = [ lib.maintainers.noahgitsham ]; + }; +})