about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/luculent/default.nix
blob: 9d61931db365d506d91d31f80c01b075b4bf948d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ lib, fetchzip }:

let version = "2.0.0"; in
fetchzip {
  name = "luculent-${version}";
  url =  "http://www.eastfarthing.com/luculent/luculent.tar.xz";

  postFetch = ''
    tar -xJf $downloadedFile --strip-components=1
    mkdir -p $out/share/fonts/truetype
    cp *.ttf $out/share/fonts/truetype
  '';

  sha256 = "1m3g64galwna1xjxb1fczmfplm6c1fn3ra1ln7f0vkm0ah5m4lbv";

  meta = with lib; {
    description = "luculent font";
    homepage = "http://www.eastfarthing.com/luculent/";
    license = licenses.ofl;
    maintainers = with maintainers; [ dtzWill ];
    platforms = platforms.all;
  };
}