summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-11-08 21:50:47 +0000
committerGitHub <noreply@github.com>2017-11-08 21:50:47 +0000
commit709c2bf19fad2f2f5392809ab619f3863a03605c (patch)
treec1b6afe7ff186d976f31cf33b6520bbf31a08415
parent1f5c2833e945fb8999a75a1e0f1a0b1a920186d7 (diff)
parentdf94f7bf7697168dfd25c5023124f37267818b06 (diff)
downloadnixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar.gz
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar.bz2
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar.lz
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar.xz
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.tar.zst
nixlib-709c2bf19fad2f2f5392809ab619f3863a03605c.zip
Merge pull request #31405 from romildo/fix.pygmentex
pygmentex: update src
-rw-r--r--pkgs/tools/typesetting/pygmentex/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/typesetting/pygmentex/default.nix b/pkgs/tools/typesetting/pygmentex/default.nix
index c19447cc0c4a..fef6c9087c53 100644
--- a/pkgs/tools/typesetting/pygmentex/default.nix
+++ b/pkgs/tools/typesetting/pygmentex/default.nix
@@ -1,12 +1,14 @@
-{ stdenv, fetchzip, python2Packages }:
+{ stdenv, fetchFromBitbucket, python2Packages }:
 
 python2Packages.buildPythonApplication rec {
   name = "pygmentex-${version}";
   version = "0.8";
 
-  src = fetchzip {
-      url = "http://mirrors.ctan.org/macros/latex/contrib/pygmentex.zip";
-      sha256 = "1nm19pvhlv51mv2sdankndhw64ys9r7ch6szzd6i4jz8zr86kn9v";
+  src = fetchFromBitbucket {
+    owner = "romildo";
+    repo = "pygmentex";
+    rev = version;
+    sha256 = "07dnv7hgppy15bda2kcbrlvfqzl6lhza80klc7133dwg8q92hm6m";
   };
 
   pythonPath = [ python2Packages.pygments python2Packages.chardet ];
@@ -38,7 +40,7 @@ python2Packages.buildPythonApplication rec {
       texlive.combine.
     '';
     license = licenses.lppl13c;
-    maintainers = with maintainers; [ romildo ];
     platforms = platforms.unix;
+    maintainers = with maintainers; [ romildo ];
   };
 }