nixpkgs/pkgs/by-name/ud/udev-gothic-nf/package.nix
2024-08-21 20:27:23 +02:00

26 lines
738 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "udev-gothic-nf";
version = "2.0.0";
src = fetchzip {
url = "https://github.com/yuru7/udev-gothic/releases/download/v${version}/UDEVGothic_NF_v${version}.zip";
hash = "sha256-u3iv5IilWysw9v8v4AfN7ucNM+eNbKVR2kfQn7JH/AM=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/udev-gothic-nf
runHook postInstall
'';
meta = with lib; {
description = "Programming font that combines BIZ UD Gothic, JetBrains Mono and nerd-fonts";
homepage = "https://github.com/yuru7/udev-gothic";
license = licenses.ofl;
maintainers = with maintainers; [ haruki7049 ];
platforms = platforms.all;
};
}