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";
|
2019-11-02 10:21:07 +00:00
|
|
|
version = "0.12.20";
|
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";
|
2019-11-02 10:21:07 +00:00
|
|
|
sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2";
|
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
|
2019-09-03 23:49:40 +01:00
|
|
|
maps. It also provides a GTK widget to display maps in GTK
|
2018-03-03 02:43:23 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|