summary refs log tree commit diff
path: root/pkgs/tools/text/highlight
diff options
context:
space:
mode:
authorWilliButz <wbutz@cyberfnord.de>2017-10-30 14:19:24 +0100
committerWilliButz <wbutz@cyberfnord.de>2017-10-30 14:44:41 +0100
commit367a3e45fd9a7c820871ae82b185f63208e1ccf0 (patch)
tree1089870e05eb286e56aa12de1a3a5b281fa27d28 /pkgs/tools/text/highlight
parent70f35a99a4f7d17f8b82105e648efb3de681ab8e (diff)
downloadnixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar.gz
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar.bz2
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar.lz
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar.xz
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.tar.zst
nixpkgs-367a3e45fd9a7c820871ae82b185f63208e1ccf0.zip
highlight: 3.39 -> 3.40, fetch src from Github
Diffstat (limited to 'pkgs/tools/text/highlight')
-rw-r--r--pkgs/tools/text/highlight/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/text/highlight/default.nix b/pkgs/tools/text/highlight/default.nix
index 71c5e352b94..275d65e7c37 100644
--- a/pkgs/tools/text/highlight/default.nix
+++ b/pkgs/tools/text/highlight/default.nix
@@ -1,14 +1,16 @@
-{ stdenv, fetchurl, getopt, lua, boost, pkgconfig, gcc }:
+{ stdenv, fetchFromGitHub, getopt, lua, boost, pkgconfig, gcc }:
 
 with stdenv.lib;
 
 stdenv.mkDerivation rec {
   name = "highlight-${version}";
-  version = "3.39";
+  version = "3.40";
 
-  src = fetchurl {
-    url = "http://www.andre-simon.de/zip/${name}.tar.bz2";
-    sha256 = "0z8gs69sqlyis4kvl8wwdgzywi199k73kkvn1mf9pf60npvcxwj4";
+  src = fetchFromGitHub {
+    owner = "andre-simon";
+    repo = "highlight";
+    rev = "${version}";
+    sha256 = "0bkywhz4y10qcajimdha1ck5mvn7fsrv3yn8nd6rqbva39gbfmfd";
   };
 
   nativeBuildInputs = [ pkgconfig ] ++ optional stdenv.isDarwin  gcc ;
@@ -28,6 +30,6 @@ stdenv.mkDerivation rec {
     description = "Source code highlighting tool";
     homepage = http://www.andre-simon.de/doku/highlight/en/highlight.php;
     platforms = platforms.unix;
-    maintainers = [ maintainers.ndowens ];
+    maintainers = with maintainers; [ ndowens willibutz ];
   };
 }