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
|
2018-11-02 22:38:37 +00:00
|
|
|
version = "3.001";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "comfortaa-${version}";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2018-11-02 22:38:37 +00:00
|
|
|
url = "https://orig00.deviantart.net/40a3/f/2017/093/d/4/comfortaa___font_by_aajohan-d1qr019.zip";
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts $out/share/doc
|
|
|
|
unzip -l $downloadedFile
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile \*/FONTLOG.txt \*/donate.html -d $out/share/doc/${name}
|
2015-03-12 22:14:21 +00:00
|
|
|
'';
|
2018-11-02 22:38:37 +00:00
|
|
|
sha256 = "0z7xr0cnn6ghwivrm5b5awq9bzhnay3y99qq6dkdgfkfdsaz0n9h";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://aajohan.deviantart.com/art/Comfortaa-font-105395949;
|
|
|
|
description = "A clean and modern font suitable for headings and logos";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|