nixpkgs/pkgs/data/fonts/luculent/default.nix
2023-01-24 20:12:29 +01:00

29 lines
644 B
Nix

{ lib, stdenvNoCC, fetchurl }:
stdenvNoCC.mkDerivation rec {
pname = "luculent";
version = "2.0.0";
src = fetchurl {
url = "http://www.eastfarthing.com/${pname}/${pname}.tar.xz";
hash = "sha256-6NxLnTBnvHmTUTFa2wW0AuKPEbCqzaWQyiFVnF0sBqU=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
runHook postInstall
'';
meta = with lib; {
description = "luculent font";
homepage = "http://www.eastfarthing.com/luculent/";
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}