inter,inter-ui: init new 'inter', bump inter-ui to last w/that name

This commit is contained in:
Will Dietz
2019-04-05 15:50:53 -05:00
parent 3d3bf7d0e0
commit 346082f8ec
3 changed files with 32 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, fetchzip }:
let
version = "3.3";
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
'';
sha256 = "17fv33ryvbla4f4mfgw7m7gjlwyjlni90a8gpb7jws1qzn0vgazg";
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 ];
};
}