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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
644 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2019-01-17 21:11:06 +00:00
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
2019-01-17 21:11:06 +00:00
mkdir -p $out/share/fonts/truetype
cp *.ttf $out/share/fonts/truetype
runHook postInstall
'';
2019-01-17 21:11:06 +00:00
meta = with lib; {
description = "luculent font";
homepage = "http://www.eastfarthing.com/luculent/";
2019-01-17 21:11:06 +00:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}