Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fragment-mono: init at 1.21 #337557

Merged
merged 2 commits into from
Sep 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
36 changes: 36 additions & 0 deletions pkgs/by-name/fr/fragment-mono/package.nix
Original file line number Diff line number Diff line change
@@ -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";
noahgitsham marked this conversation as resolved.
Show resolved Hide resolved
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 ];
};
})