3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/ttf-envy-code-r/default.nix
ajs124 d3991bc5be maintainers: remove lyt
no github account linked
2022-06-29 00:55:00 +02:00

26 lines
658 B
Nix

{ lib, fetchzip }:
let
pname = "ttf-envy-code-r";
version = "PR7";
in fetchzip {
name = "${pname}-0.${version}";
url = "http://download.damieng.com/fonts/original/EnvyCodeR-${version}.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.txt -d "$out/share/doc/${pname}"
'';
sha256 = "0x0r07nax68cmz7490x2crzzgdg4j8fg63wppcmjqm0230bggq2z";
meta = with lib; {
homepage = "https://damieng.com/blog/tag/envy-code-r";
description = "Free scalable coding font by DamienG";
license = licenses.unfree;
maintainers = [ ];
};
}