Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minted: 2.2.1 -> 2.4.1 (WIP) #20149

Closed
wants to merge 1 commit into from
Closed

Conversation

markus1189
Copy link
Contributor

I want to update the version of the texlive package minted from 2.2.1 to 2.4.1. Unfortunately I could not find any documentation on how to add a package for texlive.

I saw that there are some hashes in pkgs/tools/typesetting/tex/texlive/fixedHashes.nix but I don't know if this is somehow autogenerated or if I have to somehow run a script for that.

Would be great if someone could help me with this.

@markus1189
Copy link
Contributor Author

Just found this again because the need for an updated version of minted as come for me :)

I'll ping @vcunat and hope that something happens...

@vcunat
Copy link
Member

vcunat commented Jan 13, 2017

Hmm, I've got bad experience with updating individual texlive packages. We had some breakages due to hidden dependencies among texlive package versions.

@steveej
Copy link
Contributor

steveej commented Sep 14, 2017

This won't work because all packages use the same dated mirror. I had the need for a newer mint version myself and hacked something together, along with mirroring the required tarballs.
My mirrored files will probably go down in about 2 months, until then feel free to use the patch as is:

The following patch will do:

diff --git a/pkgs/tools/typesetting/tex/texlive/pkgs.nix b/pkgs/tools/typesetting/tex/texlive/pkgs.nix
index 4d891c0758..09c413559f 100644
--- a/pkgs/tools/typesetting/tex/texlive/pkgs.nix
+++ b/pkgs/tools/typesetting/tex/texlive/pkgs.nix
@@ -5713,6 +5713,7 @@ tl: { # no indentation
   deps."fundus-calligra" = tl."fundus-calligra";
   deps."fundus-cyr" = tl."fundus-cyr";
   deps."fundus-sueterlin" = tl."fundus-sueterlin";
+  deps."fvextra" = tl."fvextra";
   deps."fwlw" = tl."fwlw";
   deps."g-brief" = tl."g-brief";
   deps."gauss" = tl."gauss";
@@ -16203,13 +16204,24 @@ tl: { # no indentation
   hasRunfiles = true;
   version = "1.1";
 };
+"fvextra" = {
+  stripPrefix = 0;
+  sha512.run = "3526c3656124b15217161792f14f914dad2ec84af7ffd85f95654701c82e3be6bde304df0ca1ba8b4eb943122e731fe7c059a0d8ba7554f49a5401be6b709d8a";
+  sha512.doc = "919cff94f930cb624723fdca66033df39fee4dfe391df4ec592ded2a5c9ae59a9f29594ebdb09c9d9e54b5afc9dd77591258155530aa7c8fc45361b8dc31e8c3";
+  sha512.source = "934d419ca8e4c748f0d7d41f520abd07df4682295c6eef3390b9d2d628469d0d84ff7ffb707f1ee70b83b0fdf42b16ad9ad350c4b5166b28117543dde9d7d049";
+  urlPrefix = "http://213.136.89.14/texlive-mirror";
+  hasRunfiles = true;
+  version = "1.3.1";
+};
 "minted" = {
+  deps."fvextra" = tl."fvextra";
   stripPrefix = 0;
-  sha512.run = "";
-  sha512.doc = "";
-  sha512.source = "";
+  sha512.run = "6bfff77120a70214f492f34b31bc7354f75173e742b0d40b76116e78f18d471946175e7cae1d51d0f2b948bf566c8e44c755f1d98a338b8a0b1b0cfb6b77f462";
+  sha512.doc = "013bab6a7abfff35d5316ec335ddb13e8c91e918ef78d9e49bc393be3cc6e71f22c740ff862045a5d20bbfc1a508bbc272f0dbc668db3ffc657dafb0ddfbc45c";
+  sha512.source = "3ae1e00adeff4ff117be3c35120d0c94569f62c7e4b6c8640236fbd52a9ceb20fce24b87faf0d5cc2b9295fd5a3689cda5eb01dc2c3897e8a2f228326ae6cdb6";
+  urlPrefix = "http://213.136.89.14/texlive-mirror";
   hasRunfiles = true;
-  version = "2.2.1";
+  version = "2.5";
 };
 "mintspirit" = {
   stripPrefix = 0;

Note: the fvextra dependency seems to be missing from the upstream pkg information, I had to manually add it.

@c0bw3b
Copy link
Contributor

c0bw3b commented Nov 12, 2017

@markus1189 Closing for now because this has stalled and v2.4.1 might be obsoleted by now.
Feel free to reopen or come back with a new PR. :)

@c0bw3b c0bw3b closed this Nov 12, 2017
@vcunat
Copy link
Member

vcunat commented Nov 12, 2017

Perhaps TeX Live 2017 will cover this: #30332.

@markus1189
Copy link
Contributor Author

A man can dream :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants