mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fragment-mono: init at 1.21 (#337557)
This commit is contained in:
commit
de0d993eec
@ -15241,6 +15241,11 @@
|
||||
github = "noaccOS";
|
||||
githubId = 24324352;
|
||||
};
|
||||
noahgitsham = {
|
||||
name = "Noah Gitsham";
|
||||
github = "noahgitsham";
|
||||
githubId = 73707948;
|
||||
};
|
||||
nobbz = {
|
||||
name = "Norbert Melzer";
|
||||
email = "timmelzer+nixpkgs@gmail.com";
|
||||
|
36
pkgs/by-name/fr/fragment-mono/package.nix
Normal file
36
pkgs/by-name/fr/fragment-mono/package.nix
Normal file
@ -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 ];
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user