Update CM-Unicode font; note its migration to SF.net

+12 -9
+5 -9
pkgs/data/fonts/cm-unicode/default.nix
··· 9 buildInputs = map (n: builtins.getAttr n x) 10 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 11 sourceInfo = rec { 12 - version="0.6.3a"; 13 baseName="cm-unicode"; 14 name="${baseName}-${version}"; 15 - url="ftp://canopus.iacp.dvo.ru/pub/Font/cm_unicode/${name}-otf.tar.gz"; 16 - hash="1018gmvh7wl7sm6f3fqd917syd1yy0gz3pxmrc9lkxckcr7wz0zp"; 17 }; 18 in 19 rec { 20 src = a.fetchurl { 21 url = sourceInfo.url; 22 - sha256 = sourceInfo.hash; 23 }; 24 25 inherit (sourceInfo) name version; ··· 34 ]; 35 platforms = with a.lib.platforms; 36 all; 37 - }; 38 - passthru = { 39 - updateInfo = { 40 - downloadPage = "http://canopus.iacp.dvo.ru/~panov/cm-unicode/download.html"; 41 - }; 42 }; 43 }) x 44
··· 9 buildInputs = map (n: builtins.getAttr n x) 10 (builtins.attrNames (builtins.removeAttrs x helperArgNames)); 11 sourceInfo = rec { 12 + version = "0.7.0"; 13 baseName="cm-unicode"; 14 name="${baseName}-${version}"; 15 + url="mirror://sourceforge/${baseName}/${baseName}/${version}/${name}-otf.tar.xz"; 16 }; 17 in 18 rec { 19 src = a.fetchurl { 20 url = sourceInfo.url; 21 + sha256 = "0a0w9qm9g8qz2xh3lr61bj1ymqslqsvk4w2ybc3v2qa89nz7x2jl"; 22 }; 23 24 inherit (sourceInfo) name version; ··· 33 ]; 34 platforms = with a.lib.platforms; 35 all; 36 + downloadPage = "http://sourceforge.net/projects/cm-unicode/files/cm-unicode/"; 37 + inherit version; 38 }; 39 }) x 40
+7
pkgs/data/fonts/cm-unicode/default.upstream
···
··· 1 + attribute_name cm_unicode 2 + url http://sourceforge.net/projects/cm-unicode/files/cm-unicode/ 3 + SF_version_dir 4 + version_link '[-]otf[.]tar[.][a-z0-9]+/download$' 5 + SF_redirect 6 + ensure_hash 7 + do_overwrite() { do_overwrite_just_version; }