depot/third_party/nixpkgs/pkgs/by-name/ud/udev-gothic/package.nix
Default email b5f92a349c Project import generated by Copybara.
GitOrigin-RevId: 7c9cc5a6e5d38010801741ac830a3f8fd667a7a0
2023-10-19 15:55:26 +02:00

25 lines
716 B
Nix

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