29 lines
721 B
Nix
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 ];
|
|
};
|
|
}
|