eeb71630af
GitOrigin-RevId: 636051e353461f073ac55d5d42c1ed062a345046
31 lines
872 B
Nix
31 lines
872 B
Nix
{ lib, fetchgit }:
|
|
|
|
let
|
|
version = "2.010";
|
|
in (fetchgit {
|
|
name = "go-font-${version}";
|
|
url = "https://go.googlesource.com/image";
|
|
rev = "41969df76e82aeec85fa3821b1e24955ea993001";
|
|
|
|
postFetch = ''
|
|
mv $out source
|
|
cd source
|
|
|
|
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 = "175jwq16qjnd2k923n9gcbjizchy7yv4n41dm691sjwrhbl0b13x";
|
|
}) // {
|
|
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 = [];
|
|
};
|
|
}
|