1 { lib, stdenvNoCC, fetchFromGitHub }:
3 stdenvNoCC.mkDerivation rec {
4 pname = "office-code-pro";
7 src = fetchFromGitHub {
9 repo = "Office-Code-Pro";
11 hash = "sha256-qzKTXYswkithZUJT0a3IifCq4RJFeKciZAPhYr2U1X4=";
17 install -m644 -Dt $out/share/doc/${pname}-${version} README.md
18 install -m444 -Dt $out/share/fonts/opentype 'Fonts/Office Code Pro/OTF/'*.otf 'Fonts/Office Code Pro D/OTF/'*.otf
24 description = "Customized version of Source Code Pro";
26 Office Code Pro is a customized version of Source Code Pro, the monospaced
27 sans serif originally created by Paul D. Hunt for Adobe Systems
28 Incorporated. The customizations were made specifically for text editors
29 and coding environments, but are still very usable in other applications.
31 homepage = "https://github.com/nathco/Office-Code-Pro";
32 license = licenses.ofl;
33 maintainers = [ maintainers.AndersonTorres ];