2021-08-05 23:11:16 +01:00
|
|
|
{ lib, fetchFromGitHub }:
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2021-08-05 23:11:16 +01:00
|
|
|
version = "3.101";
|
|
|
|
in fetchFromGitHub rec {
|
2017-08-10 20:43:49 +01:00
|
|
|
name = "comfortaa-${version}";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2021-08-05 23:11:16 +01:00
|
|
|
owner = "googlefonts";
|
|
|
|
repo = "comfortaa";
|
|
|
|
rev = version;
|
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2021-08-05 23:11:16 +01:00
|
|
|
tar -xf $downloadedFile --strip=1
|
|
|
|
mkdir -p $out/share/fonts/truetype $out/share/doc/comfortaa
|
|
|
|
cp fonts/TTF/*.ttf $out/share/fonts/truetype
|
|
|
|
cp FONTLOG.txt README.md $out/share/doc/comfortaa
|
2015-03-12 22:14:21 +00:00
|
|
|
'';
|
2021-08-05 23:11:16 +01:00
|
|
|
|
|
|
|
sha256 = "06jhdrfzl01ma085bp354g002ypmkbp6a51jn1lsj77zfj2mfmfc";
|
2015-03-12 22:14:21 +00:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://aajohan.deviantart.com/art/Comfortaa-font-105395949";
|
2015-03-12 22:14:21 +00:00
|
|
|
description = "A clean and modern font suitable for headings and logos";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [maintainers.rycee];
|
|
|
|
};
|
|
|
|
}
|