Skip to content

Commit

Permalink
fragment-mono: init at 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
noahgitsham committed Sep 2, 2024
1 parent 2d07b69 commit 7855201
Showing 1 changed file with 36 additions and 0 deletions.
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";
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 ];
};
})

0 comments on commit 7855201

Please sign in to comment.