3
0
Fork 0
forked from mirrors/nixpkgs

go-font: init at 2016-11-17

This commit is contained in:
sternenseemann 2016-11-20 19:11:52 +01:00
parent 322f5e5132
commit 04c6e3b115
2 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,28 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation rec {
name = "go-font-${version}";
version = "2016-11-17";
src = fetchgit {
url = "https://go.googlesource.com/image";
rev = "d2f07f8aaaa906f1a64eee0e327fc681cdb2944f";
sha256 = "1kmsipa4cyrwx86acc695c281hchrz9k9ni8r7giyggvdi577iga";
};
installPhase = ''
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
'';
meta = with stdenv.lib; {
homepage = https://blog.golang.org/go-fonts;
description = "The Go font family";
license = licenses.bsd3;
maintainers = with maintainers; [ sternenseemann ];
platforms = stdenv.lib.platforms.all;
hydraPlatforms = [];
};
}

View file

@ -11774,6 +11774,8 @@ in
inherit (gnome3) gsettings_desktop_schemas;
go-font = callPackage ../data/fonts/go-font { };
gyre-fonts = callPackage ../data/fonts/gyre {};
hack-font = callPackage ../data/fonts/hack { };