mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 09:17:07 +03:00
minecraftia: init at 1.0
This commit is contained in:
parent
c94f310af8
commit
7e6d258664
28
pkgs/by-name/mi/minecraftia/package.nix
Normal file
28
pkgs/by-name/mi/minecraftia/package.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ lib, fetchzip, stdenvNoCC }:
|
||||
|
||||
stdenvNoCC.mkDerivation {
|
||||
pname = "minecraftia";
|
||||
version = "1.0";
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://fontlibrary.org/assets/downloads/minecraftia/71962a7e3d4a70435c030466a12f1d63/minecraftia.zip";
|
||||
hash = "sha256-AZFSts0GpBttbhl1LHMORiqqc9o7ZWhh5hbjhSnxAlA=";
|
||||
stripRoot = false;
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -D -m444 -t $out/share/fonts/truetype $src/Minecraftia.ttf
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://fontlibrary.org/en/font/minecraftia";
|
||||
description = "Cool Minecraft font";
|
||||
license = licenses.cc-by-sa-30;
|
||||
platforms = platforms.all;
|
||||
maintainers = with lib.maintainers; [ gepbird ];
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user