20 , gobject-introspection /*, libmemphis */
21 , withLibsoup3 ? false
24 stdenv.mkDerivation rec {
25 pname = "libchamplain";
29 url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
30 sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2";
33 patches = lib.optionals withLibsoup3 [
35 # https://gitlab.gnome.org/GNOME/libchamplain/-/merge_requests/13
37 url = "https://gitlab.gnome.org/GNOME/libchamplain/-/commit/1cbaf3193c2b38e447fbc383d4c455c3dcac6db8.patch";
38 excludes = [ ".gitlab-ci.yml" ];
39 sha256 = "uk38gExnUgeUKwhDsqRU77hGWhJ+8fG5dSiV2MAWLFk=";
43 outputs = [ "out" "dev" "devdoc" ];
58 (if withLibsoup3 then libsoup_3 else libsoup)
61 propagatedBuildInputs = [
74 updateScript = gnome.updateScript {
76 versionPolicy = "odd-unstable";
81 homepage = "https://wiki.gnome.org/Projects/libchamplain";
82 license = licenses.lgpl2Plus;
84 description = "C library providing a ClutterActor to display maps";
87 libchamplain is a C library providing a ClutterActor to display
88 maps. It also provides a GTK widget to display maps in GTK
89 applications. Python and Perl bindings are also available. It
90 supports numerous free map sources such as OpenStreetMap,
91 OpenCycleMap, OpenAerialMap, and Maps for free.
94 maintainers = teams.gnome.members ++ teams.pantheon.members;
95 platforms = platforms.gnu ++ platforms.linux; # arbitrary choice