2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2015-03-12 22:14:21 +00:00
|
|
|
version = "1.1";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "quattrocento-${version}";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
url = "http://web.archive.org/web/20170707001804/http://www.impallari.com/media/releases/quattrocento-v${version}.zip";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/{fonts,doc}
|
|
|
|
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
|
|
|
|
unzip -j $downloadedFile \*FONTLOG.txt -d $out/share/doc/${name}
|
2015-03-12 22:14:21 +00:00
|
|
|
'';
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
sha256 = "0f8l19y61y20sszn8ni8h9kgl0zy1gyzychg22z5k93ip4h7kfd0";
|
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://www.impallari.com/quattrocento/";
|
2015-03-12 22:14:21 +00:00
|
|
|
description = "A classic, elegant, sober and strong serif typeface";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|