diff options
author | RoboNickBot <nicklewchenko92@gmail.com> | 2015-09-01 21:09:47 -0500 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-09-03 12:03:05 +0200 |
commit | 126d8dba964b3c058399ffe38ba0b99e6194c98d (patch) | |
tree | 0155de8eb82ff9aad1ecbdd2dc2df0367e9817de /pkgs/tools/typesetting/tex/texlive | |
parent | 7bc624f5723123324b5a4a00b96b09aa66a5296c (diff) | |
download | nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar.gz nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar.bz2 nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar.lz nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar.xz nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.tar.zst nixlib-126d8dba964b3c058399ffe38ba0b99e6194c98d.zip |
texlive-moderntimeline: 0.8 (broken) -> 0.9 (close #9612)
The v0.8 build was broken because the CTAN package updated to v0.9 and CTAN doesn't keep old versions of packages. Besides bumping the version, this commit changes the src url from the unversioned CTAN link (which would break the derivation every time a new version of the package released, as it did yesterday) to the versioned Github release link.
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/moderntimeline.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix b/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix index ec8ffed25bcd..e80e53f91284 100644 --- a/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix +++ b/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix @@ -1,13 +1,10 @@ args: with args; rec { - version = "0.8"; + version = "0.9"; name = "moderntimeline-${version}"; src = fetchurl { - urls = [ - "http://www.ctan.org/tex-archive/macros/latex/contrib/moderntimeline.zip" - "http://mirror.ctan.org/macros/latex/contrib/moderntimeline.zip" - ]; - sha256 = "155c3m9qk8pzbkvy60pan5byfzf1wn6pd43fq7k3732g9zjzrsak"; + url = "https://github.com/raphink/moderntimeline/archive/v0.9.zip"; + sha256 = "1h1sfdh0whb74y6f999hs80flwpdbs2n4n2b9c450rvs1y7abcml"; }; buildInputs = [texLive unzip]; @@ -15,7 +12,7 @@ rec { doCopy = fullDepEntry ('' mkdir -p $out/texmf-dist/tex/latex/moderntimeline $out/texmf-dist/doc/moderntimeline $out/share mv *.dtx *.ins $out/texmf-dist/tex/latex/moderntimeline/ - mv *.pdf $out/texmf-dist/doc/moderntimeline/ + mv *.md $out/texmf-dist/doc/moderntimeline/ ln -s $out/texmf* $out/share/ '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; |