3
0
Fork 0
forked from mirrors/nixpkgs

navit: 5.0.1 -> 5.0.2

This commit is contained in:
Bignaux Ronan 2018-08-31 14:14:07 +02:00
parent 30ab2300bc
commit 9cd5e292e3

View file

@ -18,13 +18,13 @@ assert speechdSupport -> speechd != null;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "navit-${version}";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitHub {
owner = "navit-gps";
repo = "navit";
rev = "v${version}";
sha256 = "0jf2gjh2sszr5y5c2wvamfj2qggi2y5k3ynb32pak9vhf5xyl5xj";
sha256 = "11w85rlx612lws4s3q36li4iqib9b35v94kzf2zh9g1aphwqh2qa";
};
sample_map = fetchurl {
@ -69,7 +69,8 @@ stdenv.mkDerivation rec {
# TODO: fix upstream?
libPath = stdenv.lib.makeLibraryPath ([ stdenv.cc.libc ] ++ buildInputs );
postFixup = ''
postFixup =
''
find "$out/lib" -type f -name "*.so" -exec patchelf --set-rpath $libPath {} \;
wrapProgram $out/bin/navit \