Merge pull request #33447 from teto/ctags

universal-ctags: 2017-09-22 -> 2018-01-05
This commit is contained in:
Orivej Desh 2018-01-06 03:53:40 +00:00 committed by GitHub
commit dfb59921df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -2,22 +2,25 @@
stdenv.mkDerivation rec {
name = "universal-ctags-${version}";
version = "2017-09-22";
version = "2018-01-05";
src = fetchFromGitHub {
owner = "universal-ctags";
repo = "ctags";
rev = "b9537289952cc7b26526aaff3094599d714d1729";
sha256 = "1kbw9ycl2ddzpfs1v4rbqa4gdhw4inrisf4awyaxb7zxfxmbzk1g";
rev = "c66bdfb4db99977c1bd0568e33e60853a48dca65";
sha256 = "0fdzhr0704cj84ym00plkl5l9w83haal6i6w70lx6f4968pcliyi";
};
nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
buildInputs = stdenv.lib.optional stdenv.isDarwin libiconv;
# to generate makefile.in
autoreconfPhase = ''
./autogen.sh --tmpdir
./autogen.sh
'';
configureFlags = [ "--enable-tmpdir=/tmp" ];
postConfigure = ''
sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
'';