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