summary refs log tree commit diff
path: root/pkgs/applications/misc/gosmore/default.nix
blob: 43631ecdb249e9b4740bcdd0a93f3fe1eef64101 (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, libxml2, gtk, curl, pkgconfig } :

let
  version = "30811";
in
stdenv.mkDerivation {
  name = "gosmore-r${version}";
  src = fetchsvn {
    url = http://svn.openstreetmap.org/applications/rendering/gosmore;
    sha256 = "0d8ddfa0nhz51ambwj9y5jjbizl9y9w44sviisk3ysqvn8q0phds";
    rev = "${version}";
  };

  buildInputs = [ libxml2 gtk curl ];

  nativeBuildInputs = [ pkgconfig ];

  prePatch = ''
    sed -e '/curl.types.h/d' -i *.{c,h,hpp,cpp}
  '';
      
  meta = with stdenv.lib; {
    description = "Open Street Map viewer";
    homepage = http://sourceforge.net/projects/gosmore/;
    maintainers = with maintainers; [
      raskin
    ];
    platforms = platforms.linux;
  };
}