2021-08-06 21:57:35 +00:00
|
|
|
{ lib, fetchFromGitHub }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
2021-10-04 12:37:57 +00:00
|
|
|
version = "2021-07-29";
|
2021-08-06 21:57:35 +00:00
|
|
|
in fetchFromGitHub rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
name = "comfortaa-${version}";
|
|
|
|
|
2021-08-06 21:57:35 +00:00
|
|
|
owner = "googlefonts";
|
|
|
|
repo = "comfortaa";
|
2021-10-04 12:37:57 +00:00
|
|
|
rev = "2a87ac6f6ea3495150bfa00d0c0fb53dd0a2f11b";
|
2021-08-06 21:57:35 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
postFetch = ''
|
2021-08-06 21:57:35 +00: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
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2021-08-06 21:57:35 +00:00
|
|
|
|
2021-10-04 12:37:57 +00:00
|
|
|
sha256 = "12ad7qy11q49iv9h3l2d7x7y7kf0hxbqhclb92bzwig8dzly9n2k";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with 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];
|
|
|
|
};
|
|
|
|
}
|