git.iko.soy/typeable/nixpkgs
on master help sign in
camingo-code: init at 1.0
commit18d7e2ac33db9d3ad3810addfef717482c5e645b authorGabriel Adomnicai <gadomnicai@linkedin.com> dateThu 6 Oct 2016, 13:27 (10 years ago) parent3dee596
3 files changed+34
lib/licenses.nix+5 pkgs/data/fonts/camingo-code/default.nix+27 pkgs/top-level/all-packages.nix+2
lib/licenses.nix+5
@@ -110,6 +110,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
110110 fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
111111 };
112112
113+ cc-by-nd-30 = spdx {
114+ spdxId = "CC-BY-ND-3.0";
115+ fullName = "Creative Commons Attribution-No Derivative Works v3.00";
116+ };
117+
113118 cc-by-sa-25 = spdx {
114119 spdxId = "CC-BY-SA-2.5";
115120 fullName = "Creative Commons Attribution Share Alike 2.5";
pkgs/data/fonts/camingo-code/default.nixnew file+27
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -11549,6 +11549,8 @@ in
1154911549
1155011550 cabin = callPackage ../data/fonts/cabin { };
1155111551
11552+ camingo-code = callPackage ../data/fonts/camingo-code { };
11553+
1155211554 dosis = callPackage ../data/fonts/dosis { };
1155311555
1155411556 dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { };