Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / mi / minecraftia / package.nix
blob584730ea8df3bf236682d667da8c8fcd7e5ed5be
1 { lib, fetchzip, stdenvNoCC }:
3 stdenvNoCC.mkDerivation {
4   pname = "minecraftia";
5   version = "1.0";
7   src = fetchzip {
8     url = "https://fontlibrary.org/assets/downloads/minecraftia/71962a7e3d4a70435c030466a12f1d63/minecraftia.zip";
9     hash = "sha256-AZFSts0GpBttbhl1LHMORiqqc9o7ZWhh5hbjhSnxAlA=";
10     stripRoot = false;
11   };
13   installPhase = ''
14     runHook preInstall
16     install -D -m444 -t $out/share/fonts/truetype $src/Minecraftia.ttf
18     runHook postInstall
19   '';
21   meta = with lib; {
22     homepage = "https://fontlibrary.org/en/font/minecraftia";
23     description = "Cool Minecraft font";
24     license = licenses.cc-by-sa-30;
25     platforms = platforms.all;
26     maintainers = with lib.maintainers; [ gepbird ];
27   };