depot/third_party/nixpkgs/pkgs/data/fonts/luculent/default.nix

29 lines
644 B
Nix
Raw Normal View History

{ 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;
};
}