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