nixpkgs/pkgs/applications/misc/navit/default.nix

31 lines
1018 B
Nix
Raw Normal View History

{ stdenv, fetchsvn, pkgconfig, gtk2, SDL, fontconfig, freetype, imlib2, SDL_image, mesa,
2013-08-16 16:42:32 +01:00
libXmu, freeglut, python, gettext, quesoglc, gd, postgresql, cmake, qt4, SDL_ttf, fribidi}:
stdenv.mkDerivation rec {
name = "navit-svn-3537";
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";
};
hardeningDisable = [ "format" ];
2016-02-12 13:04:31 +00:00
buildInputs = [ gtk2 SDL fontconfig freetype imlib2 SDL_image mesa
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" ];
2013-08-16 16:42:32 +01:00
cmakeFlags = [ "-DSAMPLE_MAP=n" ];
meta = {
homepage = http://www.navit-project.org/;
description = "Car navigation system with routing engine using OSM maps";
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ viric ];
platforms = with stdenv.lib.platforms; linux;
};
}