2019-05-13 03:55:32 +02:00
|
|
|
{ lib, fetchzip }:
|
2016-10-06 22:27:40 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
let
|
2016-10-06 22:27:40 +02:00
|
|
|
version = "1.0";
|
2017-08-10 21:43:49 +02:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "camingo-code-${version}";
|
2016-10-06 22:27:40 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
url = https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip;
|
|
|
|
postFetch = ''
|
|
|
|
unzip $downloadedFile
|
2019-05-13 03:55:32 +02:00
|
|
|
install -m444 -Dt $out/share/fonts/truetype fonts/camingo-code/*.ttf
|
|
|
|
install -m444 -Dt $out/share/doc/${name} fonts/camingo-code/*.txt
|
2016-10-06 22:27:40 +02:00
|
|
|
'';
|
2019-05-13 03:55:32 +02:00
|
|
|
sha256 = "16iqjwwa7pnswvcc4w8nglkd0m0fz50qsz96i1kcpqip3nwwvw7y";
|
2016-10-06 22:27:40 +02:00
|
|
|
|
2019-05-13 03:55:32 +02:00
|
|
|
meta = with lib; {
|
2016-10-06 22:27:40 +02:00
|
|
|
homepage = https://www.myfonts.com/fonts/jan-fromm/camingo-code/;
|
|
|
|
description = "A monospaced typeface designed for source-code editors";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.cc-by-nd-30;
|
|
|
|
};
|
|
|
|
}
|