3
0
Fork 0
forked from mirrors/nixpkgs

Add libchamplain, a library to display maps.

svn path=/nixpkgs/trunk/; revision=22649
This commit is contained in:
Ludovic Courtès 2010-07-18 22:46:19 +00:00
parent cbd5317e82
commit cd06afd761
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ fetchurl, stdenv, pkgconfig, glib, gtk, cairo, clutter, sqlite
, clutter_gtk, libsoup /*, libmenphis */ }:
stdenv.mkDerivation rec {
name = "libchamplain-0.6.1";
src = fetchurl {
url = "http://download.gnome.org/sources/libchamplain/0.6/${name}.tar.gz";
sha256 = "1l1in4khnral157j46aq2d26nviz23icnm353587vcwjhdbw86sg";
};
buildInputs = [ pkgconfig ];
# These all appear in `champlain{,-gtk}-0.6.pc'.
propagatedBuildInputs =
[ glib gtk cairo clutter clutter_gtk sqlite libsoup ];
meta = {
homepage = http://projects.gnome.org/libchamplain/;
license = "LGPLv2+";
description = "libchamplain, a C library providing a ClutterActor to display maps";
longDescription =
'' libchamplain is a C library providing a ClutterActor to display
maps. It also provides a Gtk+ widget to display maps in Gtk+
applications. Python and Perl bindings are also available. It
supports numerous free map sources such as OpenStreetMap,
OpenCycleMap, OpenAerialMap, and Maps for free.
'';
maintainers = [ stdenv.lib.maintainers.ludo ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}

View file

@ -4501,6 +4501,11 @@ let
inherit fetchurl stdenv libcddb pkgconfig ncurses help2man;
};
libchamplain = import ../development/libraries/libchamplain {
inherit fetchurl stdenv pkgconfig cairo clutter clutter_gtk sqlite;
inherit (gnome) gtk glib libsoup;
};
libcm = import ../development/libraries/libcm {
inherit fetchurl stdenv pkgconfig xlibs mesa glib;
};