comfortaa: 3.001 -> 3.101
This commit is contained in:
parent
8757e1f1c3
commit
875e87727e
|
@ -1,17 +1,22 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchFromGitHub }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "3.001";
|
version = "3.101";
|
||||||
in fetchzip rec {
|
in fetchFromGitHub rec {
|
||||||
name = "comfortaa-${version}";
|
name = "comfortaa-${version}";
|
||||||
|
|
||||||
url = "https://orig00.deviantart.net/40a3/f/2017/093/d/4/comfortaa___font_by_aajohan-d1qr019.zip";
|
owner = "googlefonts";
|
||||||
|
repo = "comfortaa";
|
||||||
|
rev = version;
|
||||||
|
|
||||||
postFetch = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts $out/share/doc
|
tar -xf $downloadedFile --strip=1
|
||||||
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
mkdir -p $out/share/fonts/truetype $out/share/doc/comfortaa
|
||||||
unzip -j $downloadedFile \*/FONTLOG.txt \*/donate.html -d $out/share/doc/${name}
|
cp fonts/TTF/*.ttf $out/share/fonts/truetype
|
||||||
|
cp FONTLOG.txt README.md $out/share/doc/comfortaa
|
||||||
'';
|
'';
|
||||||
sha256 = "0z7xr0cnn6ghwivrm5b5awq9bzhnay3y99qq6dkdgfkfdsaz0n9h";
|
|
||||||
|
sha256 = "06jhdrfzl01ma085bp354g002ypmkbp6a51jn1lsj77zfj2mfmfc";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "http://aajohan.deviantart.com/art/Comfortaa-font-105395949";
|
homepage = "http://aajohan.deviantart.com/art/Comfortaa-font-105395949";
|
||||||
|
|
Loading…
Reference in a new issue