Skip to content

Commit

Permalink
[Backport release-24.05] departure-mono: init at 1.346 (#337926)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Aug 28, 2024
2 parents 877d5fb + a58b3c5 commit 1e0a2d3
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/de/departure-mono/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
lib,
stdenvNoCC,
fetchzip,
}:

stdenvNoCC.mkDerivation (finalAttrs: {
pname = "departure-mono";
version = "1.346";

src = fetchzip {
url = "https://departuremono.com/assets/DepartureMono-${finalAttrs.version}.zip";
stripRoot = false;
hash = "sha256-xJVVtLnukcWQKVC3QiHvrfIA3W9EYt/iiphbLYT1iMg=";
};

installPhase = ''
runHook preInstall
install -D -m 444 *.otf -t $out/share/fonts/otf
install -D -m 444 *.woff -t $out/share/fonts/woff
install -D -m 444 *.woff2 -t $out/share/fonts/woff2
runHook postInstall
'';

meta = {
description = "Departure Mono is a monospaced pixel font with a lo-fi technical vibe";
homepage = "https://departuremono.com/";
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ drupol ];
};
})

0 comments on commit 1e0a2d3

Please sign in to comment.