3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #65594 from marsam/update-universal-ctags

universal-ctags: 2018-07-23 -> 2019-07-24
This commit is contained in:
worldofpeace 2019-07-31 08:36:12 -04:00 committed by GitHub
commit c0a8580822
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "universal-ctags-${version}";
version = "2018-07-23";
version = "unstable-2019-07-30";
src = fetchFromGitHub {
owner = "universal-ctags";
repo = "ctags";
rev = "3522685695ad3312cf4b19399e0c44f3395dd089";
sha256 = "1f67hy8c2yr9z4ydsqd7wg8iagzn01qjw2ccx6g8mngv3i3jz9mv";
rev = "920e7910146915e5cae367bc9f135ffd8b042042";
sha256 = "14n3ix77rkhq6vq6kspmgjrmm0kg0f8cxikyqdq281sbnfq8bajn";
};
nativeBuildInputs = [ autoreconfHook pkgconfig pythonPackages.docutils ];
@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
configureFlags = [ "--enable-tmpdir=/tmp" ];
postPatch = ''
# Remove source of non-determinism
substituteInPlace main/options.c \
--replace "printf (\" Compiled: %s, %s\n\", __DATE__, __TIME__);" ""
'';
postConfigure = ''
sed -i 's|/usr/bin/env perl|${perl}/bin/perl|' misc/optlib2c
'';