nixpkgs/pkgs/development/libraries/libchamplain/0.6.nix
2014-07-28 11:31:14 +02:00

37 lines
1.2 KiB
Nix

{ fetchurl, stdenv, pkgconfig, glib, gtk, cairo, clutter, sqlite
, clutter_gtk_0_10, libsoup /*, libmenphis */ }:
stdenv.mkDerivation rec {
name = "libchamplain-0.6.1";
src = fetchurl {
url = "mirror://gnome/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_0_10 sqlite libsoup ];
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
meta = {
homepage = http://projects.gnome.org/libchamplain/;
license = stdenv.lib.licenses.lgpl2Plus;
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 = [ ];
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
};
}