2017-08-10 20:43:49 +01:00
|
|
|
{stdenv, 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 = "2.0";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "quattrocento-sans-${version}";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
url = "http://www.impallari.com/media/releases/quattrocento-sans-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 '*/QuattrocentoSans*.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 = "0g8hnn92ks4y0jbizwj7yfa097lk887wqkqpqjdmc09sd2n44343";
|
|
|
|
|
2015-03-12 22:14:21 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.impallari.com/quattrocentosans/;
|
|
|
|
description = "A classic, elegant and sober sans-serif typeface";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|