···11+{ fetchzip, lib }:
22+33+let
44+ version = "1.04";
55+in
66+fetchzip {
77+ name = "cardo-${version}";
88+99+ url = "http://scholarsfonts.net/cardo104.zip";
1010+1111+ hash = "sha256-eBK6+VQpreWA7jIneNXOcKFcT+cJzhoQ9XXyq93SZ8M=";
1212+ stripRoot = false;
1313+1414+ postFetch = ''
1515+ mkdir -p $out/share/fonts/truetype
1616+ mv $out/*.ttf $out/share/fonts/truetype
1717+ rm $out/*.pdf
1818+ '';
1919+2020+ meta = with lib; {
2121+ description = "Cardo is a large Unicode font specifically designed for the needs of classicists, Biblical scholars, medievalists, and linguists";
2222+ longDescription = ''
2323+ Cardo is a large Unicode font specifically designed for the needs of
2424+ classicists, Biblical scholars, medievalists, and linguists. It also
2525+ works well for general typesetting in situations where a high-quality Old
2626+ Style font is appropriate. Its large character set supports many modern
2727+ languages as well as those needed by scholars. Cardo also contains
2828+ features that are required for high-quality typography such as ligatures,
2929+ text figures (also known as old style numerals), true small capitals and
3030+ a variety of punctuation and space characters.
3131+ '';
3232+ homepage = "http://scholarsfonts.net/cardofnt.html";
3333+ license = licenses.ofl;
3434+ maintainers = with lib.maintainers; [ kmein ];
3535+ platforms = platforms.all;
3636+ };
3737+}