···1+{ fetchzip, lib }:
2+3+let
4+ version = "1.04";
5+in
6+fetchzip {
7+ name = "cardo-${version}";
8+9+ url = "http://scholarsfonts.net/cardo104.zip";
10+11+ hash = "sha256-eBK6+VQpreWA7jIneNXOcKFcT+cJzhoQ9XXyq93SZ8M=";
12+ stripRoot = false;
13+14+ postFetch = ''
15+ mkdir -p $out/share/fonts/truetype
16+ mv $out/*.ttf $out/share/fonts/truetype
17+ rm $out/*.pdf
18+ '';
19+20+ meta = with lib; {
21+ description = "Cardo is a large Unicode font specifically designed for the needs of classicists, Biblical scholars, medievalists, and linguists";
22+ longDescription = ''
23+ Cardo is a large Unicode font specifically designed for the needs of
24+ classicists, Biblical scholars, medievalists, and linguists. It also
25+ works well for general typesetting in situations where a high-quality Old
26+ Style font is appropriate. Its large character set supports many modern
27+ languages as well as those needed by scholars. Cardo also contains
28+ features that are required for high-quality typography such as ligatures,
29+ text figures (also known as old style numerals), true small capitals and
30+ a variety of punctuation and space characters.
31+ '';
32+ homepage = "http://scholarsfonts.net/cardofnt.html";
33+ license = licenses.ofl;
34+ maintainers = with lib.maintainers; [ kmein ];
35+ platforms = platforms.all;
36+ };
37+}