diff options
author | Michiel Leenaars <ml.software@leenaa.rs> | 2018-08-20 17:50:08 +0200 |
---|---|---|
committer | Michiel Leenaars <ml.software@leenaa.rs> | 2018-08-20 17:50:08 +0200 |
commit | 7474f6747c76819fcf3d0fb48766d909b7c2e46d (patch) | |
tree | e58b1d4e5a157234529576499f7ae529654da06b /pkgs/data/fonts/medio | |
parent | 675bf00fd2c308583fb1ecf8c8a7910f5aa87b69 (diff) |
medio-font: init at 0.200
Diffstat (limited to 'pkgs/data/fonts/medio')
-rw-r--r-- | pkgs/data/fonts/medio/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/data/fonts/medio/default.nix b/pkgs/data/fonts/medio/default.nix new file mode 100644 index 0000000000000..8b484b3b5efd4 --- /dev/null +++ b/pkgs/data/fonts/medio/default.nix @@ -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; + }; +} |