2017-08-10 21:43:49 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2010-11-24 12:51:50 +01:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2015-06-12 00:17:53 +02:00
|
|
|
version = "1.002";
|
2017-08-10 21:43:49 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "anonymousPro-${version}";
|
2015-06-12 00:17:53 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = "http://www.marksimonson.com/assets/content/fonts/AnonymousPro-${version}.zip";
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/{doc,fonts}
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*.txt -d "$out/share/doc/${name}"
|
2015-06-12 00:17:53 +02:00
|
|
|
'';
|
2017-08-10 21:43:49 +02:00
|
|
|
sha256 = "05rgzag38qc77b31sm5i2vwwrxbrvwzfsqh3slv11skx36pz337f";
|
2010-11-24 12:51:50 +01:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 23:50:51 +02:00
|
|
|
homepage = https://www.marksimonson.com/fonts/view/anonymous-pro;
|
2013-10-05 16:22:46 +02:00
|
|
|
description = "TrueType font set intended for source code";
|
2015-06-12 00:17:53 +02:00
|
|
|
longDescription = ''
|
|
|
|
Anonymous Pro (2009) is a family of four fixed-width fonts
|
|
|
|
designed with coding in mind. Anonymous Pro features an
|
|
|
|
international, Unicode-based character set, with support for
|
|
|
|
most Western and Central European Latin-based languages, plus
|
|
|
|
Greek and Cyrillic. It is designed by Mark Simonson.
|
|
|
|
'';
|
|
|
|
maintainers = with maintainers; [ raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2010-11-24 12:51:50 +01:00
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
}
|