depot/third_party/nixpkgs/pkgs/by-name/ui/uiua386/package.nix

27 lines
472 B
Nix

{
lib,
stdenvNoCC,
uiua,
}:
stdenvNoCC.mkDerivation {
pname = "uiua386";
inherit (uiua) src version;
installPhase = ''
runHook preInstall
install -Dm444 -t $out/share/fonts/truetype ./src/algorithm/Uiua386.ttf
runHook postInstall
'';
meta = {
description = "Uiua font";
homepage = "https://uiua.org/";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ skykanin ];
platforms = lib.platforms.all;
};
}