Merge pull request #259843 from haruki7049/udev-gothic

udev-gothic: init at 1.3.1
This commit is contained in:
Weijia Wang 2023-10-10 19:04:18 +02:00 committed by GitHub
commit cf20e21cf7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,25 @@
{ 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;
};
}