2019-05-13 02:55:32 +01:00
|
|
|
{ lib, fetchzip }:
|
2016-10-06 21:27:40 +01:00
|
|
|
|
2017-08-10 20:43:49 +01:00
|
|
|
let
|
2016-10-06 21:27:40 +01:00
|
|
|
version = "1.0";
|
2017-08-10 20:43:49 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "camingo-code-${version}";
|
2016-10-06 21:27:40 +01:00
|
|
|
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip";
|
2017-08-10 20:43:49 +01:00
|
|
|
postFetch = ''
|
2022-05-30 20:57:37 +01:00
|
|
|
install -Dm644 $out/camingo-code/*.ttf -t $out/share/fonts/truetype
|
|
|
|
install -Dm644 $out/camingo-code/*.txt -t $out/share/doc/${name}
|
|
|
|
shopt -s extglob dotglob
|
|
|
|
rm -rf $out/!(share)
|
|
|
|
shopt -u extglob dotglob
|
2016-10-06 21:27:40 +01:00
|
|
|
'';
|
2022-05-30 20:57:37 +01:00
|
|
|
sha256 = "sha256-/vDNuR034stmiCZ9jUH5DlTQJn0WccLY5treoziXOJo=";
|
2016-10-06 21:27:40 +01:00
|
|
|
|
2019-05-13 02:55:32 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://www.myfonts.com/fonts/jan-fromm/camingo-code/";
|
2016-10-06 21:27:40 +01:00
|
|
|
description = "A monospaced typeface designed for source-code editors";
|
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.cc-by-nd-30;
|
|
|
|
};
|
|
|
|
}
|