depot/third_party/nixpkgs/pkgs/data/fonts/inter/default.nix
Default email a0cb138ada Project import generated by Copybara.
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
2023-02-02 18:25:31 +00:00

29 lines
721 B
Nix

{ lib, stdenvNoCC, fetchzip }:
stdenvNoCC.mkDerivation rec {
pname = "inter";
version = "3.19";
src = fetchzip {
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
stripRoot = false;
hash = "sha256-6kUQUTFtxiJEU6sYC6HzMwm1H4wvaKIoxoY3F6GJJa8=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/fonts/opentype
cp */*.otf $out/share/fonts/opentype
runHook postInstall
'';
meta = with lib; {
homepage = "https://rsms.me/inter/";
description = "A typeface specially designed for user interfaces";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ demize dtzWill ];
};
}