summary refs log tree commit diff
diff options
context:
space:
mode:
authorcodyopel <codyopel@gmail.com>2015-05-11 05:27:53 -0400
committercodyopel <codyopel@gmail.com>2015-05-11 05:27:53 -0400
commit4cba460737bcaace3609a4bc78fecf6805293e4b (patch)
tree259f4cb8bd1db13f11a30ffb2335b04c9ce342cf
parent1199d23a39a4ffd97476176b5fd29b36f8a5112d (diff)
downloadnixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar.gz
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar.bz2
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar.lz
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar.xz
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.tar.zst
nixpkgs-4cba460737bcaace3609a4bc78fecf6805293e4b.zip
ctags: 804 -> 816
-rw-r--r--pkgs/development/tools/misc/ctags/default.nix26
1 files changed, 11 insertions, 15 deletions
diff --git a/pkgs/development/tools/misc/ctags/default.nix b/pkgs/development/tools/misc/ctags/default.nix
index bf13a5daa66..26b186c11ea 100644
--- a/pkgs/development/tools/misc/ctags/default.nix
+++ b/pkgs/development/tools/misc/ctags/default.nix
@@ -1,27 +1,22 @@
-{ stdenv, fetchsvn, automake, autoconf}:
+{ stdenv, fetchsvn, autoreconfHook }:
 
 stdenv.mkDerivation rec {
   name = "ctags-${revision}";
-  revision = "804";
+  revision = "816";
 
   src = fetchsvn {
-    url = "http://ctags.svn.sourceforge.net/svnroot/ctags/trunk";
+    url = "https://ctags.svn.sourceforge.net/svnroot/ctags/trunk";
     rev = revision;
-    sha256 = "16gln1mah2jqp32ki1z0187dwkbjx1xcnmyiardcq6c9w3p4qwcr";
+    sha256 = "0jmbkrmscbl64j71qffcc39x005jrmphx8kirs1g2ws44wil39hf";
   };
 
-  buildInputs = [ automake autoconf ];
-
-  preConfigure = "autoreconf -i";
+  nativeBuildInputs = [ autoreconfHook ];
 
   # don't use $T(E)MP which is set to the build directory
-  configureFlags="--enable-tmpdir=/tmp";
+  configureFlags= [ "--enable-tmpdir=/tmp" ];
 
-  meta = {
-    homepage = "http://ctags.sourceforge.net/";
+  meta = with stdenv.lib; {
     description = "A tool for fast source code browsing (exuberant ctags)";
-    license = stdenv.lib.licenses.gpl2Plus;
-
     longDescription = ''
       Ctags generates an index (or tag) file of language objects found
       in source files that allows these items to be quickly and easily
@@ -30,9 +25,10 @@ stdenv.mkDerivation rec {
       alternatively, the index entry created for that object).  Many
       programming languages are supported.
     '';
-
-    platforms = stdenv.lib.platforms.unix;
-    maintainers = [ stdenv.lib.maintainers.simons ];
+    homepage = http://ctags.sourceforge.net/;
+    license = licenses.gpl2Plus;
+    maintainers = with maintainers; [ simons ];
+    platforms = platforms.unix;
   };
 
 }