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

24 lines
602 B
Nix
Raw Normal View History

2019-01-17 22:11:06 +01:00
{ lib, fetchzip }:
let version = "2.0.0"; in
2019-08-13 23:52:01 +02:00
fetchzip {
2019-01-17 22:11:06 +01:00
name = "luculent-${version}";
url = "http://www.eastfarthing.com/luculent/luculent.tar.xz";
2019-01-17 22:11:06 +01:00
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/";
2019-01-17 22:11:06 +01:00
license = licenses.ofl;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.all;
};
}