2020-04-24 23:36:52 +00:00
|
|
|
{ lib, fetchzip }:
|
|
|
|
|
|
|
|
let
|
|
|
|
version = "1.0";
|
|
|
|
in fetchzip rec {
|
|
|
|
name = "camingo-code-${version}";
|
|
|
|
|
|
|
|
url = "https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip";
|
|
|
|
postFetch = ''
|
2022-06-16 17:23:12 +00: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
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
2022-06-16 17:23:12 +00:00
|
|
|
sha256 = "sha256-/vDNuR034stmiCZ9jUH5DlTQJn0WccLY5treoziXOJo=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|