forked from mirrors/nixpkgs
63cbdf67ae
* gdouros-fonts: fix build some hashes were changed since ods files are now installed * camingo-code: fix build contents not changed * hannom: fix build * helvetica-neue-lt-std: fix build perms changed so the hash changed too * liberastika: fix build hash changed due to no doc dir anymore * kochi-substitute-naga10: fix build * xkcd-font: use a simpler method to remove unneeded files * fonts: also remove hidden files
25 lines
761 B
Nix
25 lines
761 B
Nix
{ 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 = ''
|
|
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
|
|
'';
|
|
sha256 = "sha256-/vDNuR034stmiCZ9jUH5DlTQJn0WccLY5treoziXOJo=";
|
|
|
|
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;
|
|
};
|
|
}
|