@@ -0,0 +1,27 @@
1+{ stdenv, fetchurl, unzip }:
2+
3+stdenv.mkDerivation rec {
4+ name = "camingo-code-${version}";
5+ version = "1.0";
6+
7+ src = fetchurl {
8+ url = https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip;
9+ sha256 = "1gbpfa5mqyhi5yrb6dl708pggiwp002b532fn3axiagb0cxxf02s";
10+ };
11+
12+ buildInputs = [ unzip ];
13+
14+ installPhase = ''
15+ mkdir -p $out/share/fonts/truetype
16+ mkdir -p $out/share/doc/${name}
17+ cp -v camingo-code/*.ttf $out/share/fonts/truetype/
18+ cp -v camingo-code/*.txt $out/share/doc/${name}/
19+ '';
20+
21+ meta = with stdenv.lib; {
22+ homepage = https://www.myfonts.com/fonts/jan-fromm/camingo-code/;
23+ description = "A monospaced typeface designed for source-code editors";
24+ platforms = platforms.all;
25+ license = licenses.cc-by-nd-30;
26+ };
27+}