evcc: 0.131.4 -> 0.131.5
[NixPkgs.git] / pkgs / by-name / pl / plemoljp / package.nix
blob8f7f092de310c189c1ea031d2369cf6b1e0e6f98
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "plemoljp";
5   version = "1.7.1";
7   src = fetchzip {
8     url = "https://github.com/yuru7/PlemolJP/releases/download/v${version}/PlemolJP_v${version}.zip";
9     hash = "sha256-YH1c/2jk8QZNyPvzRZjxNHyNeci9tjn+oOW8xLd8kjk=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install -Dm444 PlemolJP/*.ttf -t $out/share/fonts/truetype/plemoljp
16     install -Dm444 PlemolJP35/*.ttf -t $out/share/fonts/truetype/plemoljp-35
17     install -Dm444 PlemolJPConsole/*.ttf -t $out/share/fonts/truetype/plemoljp-console
18     install -Dm444 PlemolJP35Console/*.ttf -t $out/share/fonts/truetype/plemoljp-35console
20     runHook postInstall
21   '';
23   meta = with lib; {
24     description = "Composite font of IBM Plex Mono and IBM Plex Sans JP";
25     homepage = "https://github.com/yuru7/PlemolJP";
26     license = licenses.ofl;
27     platforms = platforms.all;
28     maintainers = with maintainers; [ kachick ];
29   };