19 , gobject-introspection /*, libmemphis */
20 , withLibsoup3 ? false
23 stdenv.mkDerivation rec {
24 pname = "libchamplain";
27 outputs = [ "out" "dev" ]
28 ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
31 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
32 sha256 = "qRXNFyoMUpRMVXn8tGg/ioeMVxv16SglS12v78cn5ac=";
41 ] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
49 (if withLibsoup3 then libsoup_3 else libsoup)
52 propagatedBuildInputs = [
60 (lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
62 (lib.mesonBool "libsoup3" withLibsoup3)
66 updateScript = gnome.updateScript {
68 versionPolicy = "odd-unstable";
73 homepage = "https://wiki.gnome.org/Projects/libchamplain";
74 license = licenses.lgpl2Plus;
76 description = "C library providing a ClutterActor to display maps";
79 libchamplain is a C library providing a ClutterActor to display
80 maps. It also provides a GTK widget to display maps in GTK
81 applications. Python and Perl bindings are also available. It
82 supports numerous free map sources such as OpenStreetMap,
83 OpenCycleMap, OpenAerialMap, and Maps for free.
86 maintainers = teams.gnome.members ++ teams.pantheon.members;
87 platforms = platforms.unix;