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