depot/third_party/nixpkgs/pkgs/data/fonts/oldstandard/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
713 B
Nix

{ lib, fetchzip }:
let
version = "2.2";
in fetchzip rec {
name = "oldstandard-${version}";
url = "https://github.com/akryukov/oldstand/releases/download/v${version}/${name}.otf.zip";
postFetch = ''
unzip $downloadedFile
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/doc/${name} FONTLOG.txt
'';
sha256 = "1qwfsyp51grr56jcnkkmnrnl3r20pmhp9zh9g88kp64m026cah6n";
meta = with lib; {
homepage = "https://github.com/akryukov/oldstand";
description = "An attempt to revive a specific type of Modern style of serif typefaces";
maintainers = with maintainers; [ raskin rycee ];
license = licenses.ofl;
platforms = platforms.all;
};
}