blob: 91ecfd2910014cbe6aa166406fd9471456b50f1d (
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
24
25
26
27
28
29
|
{ lib, fetchgit }:
let
version = "2.010";
in (fetchgit {
name = "go-font-${version}";
url = "https://go.googlesource.com/image";
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
postFetch = ''
mv $out/* .
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/doc/go-font
cp font/gofont/ttfs/* $out/share/fonts/truetype
mv $out/share/fonts/truetype/README $out/share/doc/go-font/LICENSE
'';
sha256 = "dteUL/4ZUq3ybL6HaLYqu2Tslx3q8VvELIY3tVC+ODo=";
}) // {
meta = with lib; {
homepage = "https://blog.golang.org/go-fonts";
description = "The Go font family";
changelog = "https://go.googlesource.com/image/+log/refs/heads/master/font/gofont";
license = licenses.bsd3;
maintainers = with maintainers; [ sternenseemann ];
platforms = lib.platforms.all;
hydraPlatforms = [];
};
}
|