blob: 46ab699fd3986a0862de5c4701418a085f14043a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ 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 ];
};
}
|