medio-font: init at 0.200

This commit is contained in:
Michiel Leenaars 2018-08-20 17:50:08 +02:00
parent 675bf00fd2
commit 7474f6747c
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ stdenv, fetchzip }:
let
majorVersion = "0";
minorVersion = "200";
pname = "medio";
in
fetchzip rec {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
sha256 = "0gxcmhjlsh2pzsmj78vw4v935ax7hfk533ddlhfhfma52zyxyh7x";
postFetch = ''
mkdir -p $out/share/fonts/opentype/${pname}
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype/${pname}
'';
meta = with stdenv.lib; {
homepage = "http://dotcolon.net/font/{pname}/";
description = "Serif font designed by Sora Sagano";
longDescription = ''
Medio is a serif font designed by Sora Sagano, based roughly
on the proportions of the font Tenderness (from the same designer),
but with hairline serifs in the style of a Didone.
'';
platforms = platforms.all;
maintainers = with maintainers; [ leenaars ];
license = licenses.cc0;
};
}

View File

@ -14948,6 +14948,8 @@ with pkgs;
media-player-info = callPackage ../data/misc/media-player-info {};
medio = callPackage ../data/fonts/medio { };
mobile-broadband-provider-info = callPackage ../data/misc/mobile-broadband-provider-info { };
monoid = callPackage ../data/fonts/monoid { };