nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, stdenvNoCC, fetchurl }:
2
3stdenvNoCC.mkDerivation rec {
4 pname = "luculent";
5 version = "2.0.0";
6
7 src = fetchurl {
8 url = "http://www.eastfarthing.com/${pname}/${pname}.tar.xz";
9 hash = "sha256-6NxLnTBnvHmTUTFa2wW0AuKPEbCqzaWQyiFVnF0sBqU=";
10 };
11
12 installPhase = ''
13 runHook preInstall
14
15 mkdir -p $out/share/fonts/truetype
16 cp *.ttf $out/share/fonts/truetype
17
18 runHook postInstall
19 '';
20
21 meta = with lib; {
22 description = "luculent font";
23 homepage = "http://www.eastfarthing.com/luculent/";
24 license = licenses.ofl;
25 maintainers = with maintainers; [ dtzWill ];
26 platforms = platforms.all;
27 };
28}