universal-ctags: 2017-09-22 -> 2018-01-05

Fixup of https://github.com/NixOS/nixpkgs/issues/33124 (ctags failed to
create its temporary files when TMPDIR was not in environment). I used
the opportunity to bump version with the improvements made to ctags to
help diagnose these kinds of errors:
https://github.com/universal-ctags/ctags/pull/1648
This commit is contained in:
Matthieu Coudron 2018-01-05 14:17:03 +09:00
parent f59a0f7f1a
commit c696d38ecd

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
'';