1{ fetchurl, stdenv, pkgconfig, glib, gtk3, cairo, clutter, sqlite
2, clutter_gtk, libsoup /*, libmemphis */ }:
3
4let version = "0.12.11"; in
5stdenv.mkDerivation rec {
6 name = "libchamplain-${version}";
7
8 src = fetchurl {
9 url = "mirror://gnome/sources/libchamplain/0.12/libchamplain-${version}.tar.xz";
10 sha256 = "19aadn4lh6mzpz2qzi5l1qcbi11a57qqv1zxp2n10z4nin4287l5";
11 };
12
13 buildInputs = [ pkgconfig ];
14
15 propagatedBuildInputs = [ glib gtk3 cairo clutter_gtk sqlite libsoup ];
16
17 meta = with stdenv.lib; {
18 inherit version;
19 homepage = http://projects.gnome.org/libchamplain/;
20 license = licenses.lgpl2Plus;
21
22 description = "C library providing a ClutterActor to display maps";
23
24 longDescription =
25 '' libchamplain is a C library providing a ClutterActor to display
26 maps. It also provides a Gtk+ widget to display maps in Gtk+
27 applications. Python and Perl bindings are also available. It
28 supports numerous free map sources such as OpenStreetMap,
29 OpenCycleMap, OpenAerialMap, and Maps for free.
30 '';
31
32 maintainers = [ ];
33 platforms = platforms.gnu; # arbitrary choice
34 };
35}