2024-08-28 08:09:04 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchzip,
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "departure-mono";
|
2024-10-31 23:51:10 +00:00
|
|
|
version = "1.422";
|
2024-08-28 08:09:04 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
2024-09-09 18:21:24 +00:00
|
|
|
url = "https://github.com/rektdeckard/departure-mono/releases/download/v${finalAttrs.version}/DepartureMono-${finalAttrs.version}.zip";
|
2024-08-28 08:09:04 +00:00
|
|
|
stripRoot = false;
|
2024-10-31 23:51:10 +00:00
|
|
|
hash = "sha256-9CcXd7PLxkzQt0oT/asZO9mowtXtjPBfuKphfGgM/y8=";
|
2024-08-28 08:09:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 = {
|
2024-09-09 18:21:24 +00:00
|
|
|
changelog = "https://github.com/rektdeckard/departure-mono/releases/tag/v${finalAttrs.version}";
|
2024-08-28 08:09:04 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
})
|