mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
plemoljp-nf: init at 1.7.1
This commit is contained in:
parent
7744691840
commit
b71417e820
28
pkgs/by-name/pl/plemoljp-nf/package.nix
Normal file
28
pkgs/by-name/pl/plemoljp-nf/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, stdenvNoCC, fetchzip }:
|
||||
|
||||
stdenvNoCC.mkDerivation rec {
|
||||
pname = "plemoljp-nf";
|
||||
version = "1.7.1";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/yuru7/PlemolJP/releases/download/v${version}/PlemolJP_NF_v${version}.zip";
|
||||
hash = "sha256-nxGvaHLs65z4CSy/smy+koQyuYcDXJKjPZt5NusUN3E=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm444 PlemolJPConsole_NF/*.ttf -t $out/share/fonts/truetype/${pname}-console
|
||||
install -Dm444 PlemolJP35Console_NF/*.ttf -t $out/share/fonts/truetype/${pname}-35console
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A composite font of IBM Plex Mono, IBM Plex Sans JP and nerd-fonts";
|
||||
homepage = "https://github.com/yuru7/PlemolJP";
|
||||
license = licenses.ofl;
|
||||
platforms = platforms.all;
|
||||
maintainers = with maintainers; [ kachick ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user