at 22.05-pre 24 lines 747 B view raw
1{ lib, fetchzip }: 2 3let 4 version = "2.038"; 5in fetchzip { 6 name = "source-code-pro-${version}"; 7 8 url = "https://github.com/adobe-fonts/source-code-pro/releases/download/${version}R-ro%2F1.058R-it%2F1.018R-VAR/OTF-source-code-pro-${version}R-ro-1.058R-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 = "027cf62zj27q7l3d4sqzdfgz423lzysihdg8cvmkk6z910a1v368"; 16 17 meta = { 18 description = "Monospaced font family for user interface and 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}