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