summary refs log tree commit diff
path: root/pkgs/applications/misc/navit/default.nix
blob: 576647555abea21fdf19a70e8dc36db9ede24261 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv, fetchsvn, pkgconfig, gtk, SDL, fontconfig, freetype, imlib2, SDL_image, mesa,
libXmu, freeglut, python, gettext, quesoglc, gd, postgresql, autoconf, automake, libtool, cvs }:
stdenv.mkDerivation rec {
  name = "navit-svn-3537";

  src = fetchsvn {
    url = https://navit.svn.sourceforge.net/svnroot/navit/trunk/navit;
    rev = 3537;
    sha256 = "1ajd439i7z8xm16kqh20qalvafy9miyy4accc8j7w30c4qgc2bb7";
  };

  # 'cvs' is only for the autogen
  buildInputs = [ pkgconfig gtk SDL fontconfig freetype imlib2 SDL_image mesa
    libXmu freeglut python gettext quesoglc gd postgresql
    autoconf automake libtool cvs ];

  preConfigure = ''
    sh ./autogen.sh
  '';

  configureFlags = [ "--disable-samplemap" ];

  meta = {
    homepage = http://www.navit-project.org/;
    description = "Car navigation system with routing engine using OSM maps";
    license = "GPLv2";
    maintainers = with stdenv.lib.maintainers; [ viric ];
    platforms = with stdenv.lib.platforms; linux;
  };
}