Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / ud / udev-gothic / package.nix
blobef50de5d6000d1c61a636e24b58e534e69ce3a86
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "udev-gothic";
5   version = "1.3.1";
7   src = fetchzip {
8     url = "https://github.com/yuru7/udev-gothic/releases/download/v${version}/UDEVGothic_v${version}.zip";
9     hash = "sha256-W1ekR3fWuS/ks1reCBAvZ5lR+aGh9qfaxn80Q2KlRM0=";
10   };
12   installPhase = ''
13     runHook preInstall
14     install -Dm644 *.ttf -t $out/share/fonts/${pname}
15     runHook postInstall
16   '';
18   meta = with lib; {
19     description = "A programming font that combines BIZ UD Gothic and JetBrains Mono";
20     homepage = "https://github.com/yuru7/udev-gothic";
21     license = licenses.ofl;
22     maintainers = with maintainers; [ haruki7049 ];
23     platforms = platforms.all;
24   };