3
0
Fork 0
forked from mirrors/nixpkgs

camingo-code: init at 1.0

This commit is contained in:
Gabriel Adomnicai 2016-10-06 13:27:40 -07:00
parent 3dee596ed1
commit 18d7e2ac33
3 changed files with 34 additions and 0 deletions

View file

@ -110,6 +110,11 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "Creative Commons Attribution Non Commercial Share Alike 4.0";
};
cc-by-nd-30 = spdx {
spdxId = "CC-BY-ND-3.0";
fullName = "Creative Commons Attribution-No Derivative Works v3.00";
};
cc-by-sa-25 = spdx {
spdxId = "CC-BY-SA-2.5";
fullName = "Creative Commons Attribution Share Alike 2.5";

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
name = "camingo-code-${version}";
version = "1.0";
src = fetchurl {
url = https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip;
sha256 = "1gbpfa5mqyhi5yrb6dl708pggiwp002b532fn3axiagb0cxxf02s";
};
buildInputs = [ unzip ];
installPhase = ''
mkdir -p $out/share/fonts/truetype
mkdir -p $out/share/doc/${name}
cp -v camingo-code/*.ttf $out/share/fonts/truetype/
cp -v camingo-code/*.txt $out/share/doc/${name}/
'';
meta = with stdenv.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;
};
}

View file

@ -11549,6 +11549,8 @@ in
cabin = callPackage ../data/fonts/cabin { };
camingo-code = callPackage ../data/fonts/camingo-code { };
dosis = callPackage ../data/fonts/dosis { };
dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { };