forked from mirrors/nixpkgs
Update CM-Unicode font; note its migration to SF.net
This commit is contained in:
parent
965cf1b9fb
commit
5599a2959e
|
@ -9,17 +9,16 @@ let
|
|||
buildInputs = map (n: builtins.getAttr n x)
|
||||
(builtins.attrNames (builtins.removeAttrs x helperArgNames));
|
||||
sourceInfo = rec {
|
||||
version="0.6.3a";
|
||||
version = "0.7.0";
|
||||
baseName="cm-unicode";
|
||||
name="${baseName}-${version}";
|
||||
url="ftp://canopus.iacp.dvo.ru/pub/Font/cm_unicode/${name}-otf.tar.gz";
|
||||
hash="1018gmvh7wl7sm6f3fqd917syd1yy0gz3pxmrc9lkxckcr7wz0zp";
|
||||
url="mirror://sourceforge/${baseName}/${baseName}/${version}/${name}-otf.tar.xz";
|
||||
};
|
||||
in
|
||||
rec {
|
||||
src = a.fetchurl {
|
||||
url = sourceInfo.url;
|
||||
sha256 = sourceInfo.hash;
|
||||
sha256 = "0a0w9qm9g8qz2xh3lr61bj1ymqslqsvk4w2ybc3v2qa89nz7x2jl";
|
||||
};
|
||||
|
||||
inherit (sourceInfo) name version;
|
||||
|
@ -34,11 +33,8 @@ rec {
|
|||
];
|
||||
platforms = with a.lib.platforms;
|
||||
all;
|
||||
};
|
||||
passthru = {
|
||||
updateInfo = {
|
||||
downloadPage = "http://canopus.iacp.dvo.ru/~panov/cm-unicode/download.html";
|
||||
};
|
||||
downloadPage = "http://sourceforge.net/projects/cm-unicode/files/cm-unicode/";
|
||||
inherit version;
|
||||
};
|
||||
}) x
|
||||
|
||||
|
|
7
pkgs/data/fonts/cm-unicode/default.upstream
Normal file
7
pkgs/data/fonts/cm-unicode/default.upstream
Normal file
|
@ -0,0 +1,7 @@
|
|||
attribute_name cm_unicode
|
||||
url http://sourceforge.net/projects/cm-unicode/files/cm-unicode/
|
||||
SF_version_dir
|
||||
version_link '[-]otf[.]tar[.][a-z0-9]+/download$'
|
||||
SF_redirect
|
||||
ensure_hash
|
||||
do_overwrite() { do_overwrite_just_version; }
|
Loading…
Reference in a new issue