2019-03-29 08:24:46 +01:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2019-04-05 22:52:05 +02:00
|
|
|
version = "3.5";
|
2019-03-29 08:24:46 +01:00
|
|
|
in fetchzip {
|
|
|
|
name = "inter-${version}";
|
|
|
|
|
|
|
|
url = "https://github.com/rsms/inter/releases/download/v${version}/Inter-${version}.zip";
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/opentype
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
|
|
'';
|
|
|
|
|
2019-04-05 22:52:05 +02:00
|
|
|
sha256 = "0zqixzzbb3n1j4jvpjm0hlxc32j53hgq4j078gihjkhgvjhsklf2";
|
2019-03-29 08:24:46 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://rsms.me/inter/;
|
|
|
|
description = "A typeface specially designed for user interfaces";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ demize ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|