Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 670 B view raw
1{ lib, fetchzip }: 2 3let 4 version = "2.030"; 5in fetchzip { 6 name = "source-code-pro-${version}"; 7 8 url = https://github.com/adobe-fonts/source-code-pro/archive/2.030R-ro/1.050R-it.zip; 9 10 postFetch = '' 11 mkdir -p $out/share/fonts 12 unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype 13 ''; 14 15 sha256 = "0d8qwzjgnz264wlm4qim048z3236z4hbblvc6yplw13f6b65j6fv"; 16 17 meta = { 18 description = "A set of monospaced OpenType fonts designed for coding environments"; 19 maintainers = with lib.maintainers; [ relrod ]; 20 platforms = with lib.platforms; all; 21 homepage = https://adobe-fonts.github.io/source-code-pro/; 22 license = lib.licenses.ofl; 23 }; 24}