ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / ca / camingo-code / package.nix
blob6bb3f02d7b1fa278a890769b760081acd5bd0be2
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "camingo-code";
5   version = "1.0";
7   src = fetchzip {
8     url = "https://github.com/chrissimpkins/codeface/releases/download/font-collection/codeface-fonts.zip";
9     hash = "sha256-oo5pWDq6h0bmyGvfF9Bkh7WyjKX4dG8uclfIsWLhDw8=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install -Dm644 camingo-code/*.ttf -t $out/share/fonts/truetype
16     install -Dm644 camingo-code/*.txt -t $out/share/doc/${pname}-${version}
18     runHook postInstall
19   '';
21   meta = with lib; {
22     homepage = "https://www.myfonts.com/fonts/jan-fromm/camingo-code/";
23     description = "Monospaced typeface designed for source-code editors";
24     platforms = platforms.all;
25     license = licenses.cc-by-nd-30;
26   };