about summary refs log tree commit diff
path: root/nixpkgs/pkgs/data/fonts/camingo-code/default.nix
blob: 98175373ebd52566f4e37704656ed4df7ff7e648 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ 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 = ''
    unzip $downloadedFile
    install -m444 -Dt $out/share/fonts/truetype fonts/camingo-code/*.ttf
    install -m444 -Dt $out/share/doc/${name}    fonts/camingo-code/*.txt
  '';
  sha256 = "16iqjwwa7pnswvcc4w8nglkd0m0fz50qsz96i1kcpqip3nwwvw7y";

  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;
  };
}