push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,97 @@
{
fetchurl,
lib,
stdenv,
meson,
ninja,
vala,
gtk-doc,
docbook_xsl,
docbook_xml_dtd_412,
pkg-config,
glib,
gtk3,
cairo,
sqlite,
gnome,
clutter-gtk,
libsoup_2_4,
libsoup_3,
gobject-introspection, # , libmemphis
withLibsoup3 ? false,
}:
stdenv.mkDerivation rec {
pname = "libchamplain";
version = "0.12.21";
outputs = [
"out"
"dev"
]
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [ "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "qRXNFyoMUpRMVXn8tGg/ioeMVxv16SglS12v78cn5ac=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
gobject-introspection
vala
]
++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
gtk-doc
docbook_xsl
docbook_xml_dtd_412
];
buildInputs = [
sqlite
(if withLibsoup3 then libsoup_3 else libsoup_2_4)
];
propagatedBuildInputs = [
glib
gtk3
cairo
clutter-gtk
];
mesonFlags = [
(lib.mesonBool "gtk_doc" (stdenv.buildPlatform == stdenv.hostPlatform))
"-Dvapi=true"
(lib.mesonBool "libsoup3" withLibsoup3)
];
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
versionPolicy = "odd-unstable";
};
};
meta = with lib; {
homepage = "https://gitlab.gnome.org/GNOME/libchamplain";
license = licenses.lgpl2Plus;
description = "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.
'';
teams = [
teams.gnome
teams.pantheon
];
platforms = platforms.unix;
};
}