1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

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 { };