2019-03-05 20:00:30 +00:00
|
|
|
{ fetchurl, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkgconfig, glib, gtk3, cairo, sqlite, gnome3
|
2018-12-02 11:41:15 +00:00
|
|
|
, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }:
|
2010-07-18 23:46:19 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-03-05 20:00:30 +00:00
|
|
|
pname = "libchamplain";
|
|
|
|
version = "0.12.19";
|
2010-07-18 23:46:19 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-03-05 20:00:30 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
|
|
sha256 = "191aid1qsfkab5whbzj2r3g63dpdgrwp5141mfywvqyvdhr2x11n";
|
2010-07-18 23:46:19 +01:00
|
|
|
};
|
|
|
|
|
2019-03-05 20:00:30 +00:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
|
|
|
|
|
|
|
buildInputs = [ sqlite libsoup ];
|
2018-10-08 16:28:45 +01:00
|
|
|
|
2019-03-05 20:00:30 +00:00
|
|
|
propagatedBuildInputs = [ glib gtk3 cairo clutter-gtk ];
|
2010-07-18 23:46:19 +01:00
|
|
|
|
2019-03-05 20:00:30 +00:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dgtk_doc=true"
|
|
|
|
"-Dvapi=true"
|
|
|
|
];
|
2010-07-18 23:46:19 +01:00
|
|
|
|
2018-03-03 02:43:23 +00:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-09-21 08:24:32 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-03-03 02:43:23 +00:00
|
|
|
homepage = https://wiki.gnome.org/Projects/libchamplain;
|
2015-09-21 08:24:32 +01:00
|
|
|
license = licenses.lgpl2Plus;
|
2010-07-18 23:46:19 +01:00
|
|
|
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "C library providing a ClutterActor to display maps";
|
2010-07-18 23:46:19 +01:00
|
|
|
|
2018-03-03 02:43:23 +00:00
|
|
|
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.
|
|
|
|
'';
|
2010-07-18 23:46:19 +01:00
|
|
|
|
2018-03-03 02:43:23 +00:00
|
|
|
maintainers = gnome3.maintainers;
|
2018-04-30 23:43:54 +01:00
|
|
|
platforms = platforms.gnu ++ platforms.linux; # arbitrary choice
|
2010-07-18 23:46:19 +01:00
|
|
|
};
|
|
|
|
}
|