summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-07-18 22:46:19 +0000
committerLudovic Courtès <ludo@gnu.org>2010-07-18 22:46:19 +0000
commitcd06afd761674b36003105fd0a6e49c6520a17aa (patch)
tree48c2329f550e2ac90fa3ac43a02386bbe1cd36e1 /pkgs/development/libraries
parentcbd5317e821be4377e7348b80d044e889d7d9cc4 (diff)
downloadnixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar.gz
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar.bz2
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar.lz
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar.xz
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.tar.zst
nixpkgs-cd06afd761674b36003105fd0a6e49c6520a17aa.zip
Add libchamplain, a library to display maps.
svn path=/nixpkgs/trunk/; revision=22649
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/libchamplain/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libchamplain/default.nix b/pkgs/development/libraries/libchamplain/default.nix
new file mode 100644
index 00000000000..528560d1e02
--- /dev/null
+++ b/pkgs/development/libraries/libchamplain/default.nix
@@ -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
+  };
+}