{ungoogled-,}chromium,chromedriver: 130.0.6723.58 -> 130.0.6723.69 (#351519)
[NixPkgs.git] / pkgs / data / fonts / go-font / default.nix
blobdb96e3183e2620cd960897ee88bc25cf53af7a51
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "go-font";
5   version = "2.010";
7   src = fetchzip {
8     url = "https://go.googlesource.com/image/+archive/41969df76e82aeec85fa3821b1e24955ea993001/font/gofont/ttfs.tar.gz";
9     stripRoot = false;
10     hash = "sha256-rdzt51wY4b7HEr7W/0Ar/FB0zMyf+nKLsOT+CRSEP3o=";
11   };
13   installPhase = ''
14     runHook preInstall
16     mkdir -p $out/share/fonts/truetype
17     mkdir -p $out/share/doc/go-font
18     mv *.ttf $out/share/fonts/truetype
19     mv README $out/share/doc/go-font/LICENSE
21     runHook postInstall
22   '';
24   meta = with lib; {
25     homepage = "https://blog.golang.org/go-fonts";
26     description = "Go font family";
27     changelog = "https://go.googlesource.com/image/+log/refs/heads/master/font/gofont";
28     license = licenses.bsd3;
29     maintainers = with maintainers; [ sternenseemann ];
30     platforms = lib.platforms.all;
31   };