2018-02-24 13:12:44 +00:00
|
|
|
{ stdenv, fetchsvn, pkgconfig, gtk2, SDL, fontconfig, freetype, imlib2, SDL_image, libGLU_combined,
|
2013-08-16 16:42:32 +01:00
|
|
|
libXmu, freeglut, python, gettext, quesoglc, gd, postgresql, cmake, qt4, SDL_ttf, fribidi}:
|
2010-08-22 12:33:57 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2010-08-22 13:07:03 +01:00
|
|
|
name = "navit-svn-3537";
|
2010-08-22 12:33:57 +01:00
|
|
|
|
2010-08-22 13:07:03 +01:00
|
|
|
src = fetchsvn {
|
2013-08-16 16:42:32 +01:00
|
|
|
url = svn://svn.code.sf.net/p/navit/code/trunk/navit;
|
|
|
|
rev = 5576;
|
|
|
|
sha256 = "1xx62l5srfhh9cfi7n3pxj8hpcgr1rpa0hzfmbrqadzv09z36723";
|
2010-08-22 12:33:57 +01:00
|
|
|
};
|
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-12 13:04:31 +00:00
|
|
|
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ gtk2 SDL fontconfig freetype imlib2 SDL_image libGLU_combined
|
2016-08-27 22:58:06 +01:00
|
|
|
libXmu freeglut python gettext quesoglc gd postgresql qt4 SDL_ttf fribidi ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig cmake ];
|
|
|
|
|
|
|
|
NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
|
2010-08-22 13:07:03 +01:00
|
|
|
|
2013-08-16 16:42:32 +01:00
|
|
|
cmakeFlags = [ "-DSAMPLE_MAP=n" ];
|
2010-08-22 13:01:41 +01:00
|
|
|
|
2010-08-22 12:33:57 +01:00
|
|
|
meta = {
|
|
|
|
homepage = http://www.navit-project.org/;
|
|
|
|
description = "Car navigation system with routing engine using OSM maps";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2018-07-22 20:50:19 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ ];
|
2010-08-22 12:33:57 +01:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|