mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
468cb5980b
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
51 lines
1.6 KiB
Nix
51 lines
1.6 KiB
Nix
{ fetchurl, lib, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkg-config, glib, gtk3, cairo, sqlite, gnome
|
|
, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "libchamplain";
|
|
version = "0.12.20";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2";
|
|
};
|
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection vala gtk-doc docbook_xsl docbook_xml_dtd_412 ];
|
|
|
|
buildInputs = [ sqlite libsoup ];
|
|
|
|
propagatedBuildInputs = [ glib gtk3 cairo clutter-gtk ];
|
|
|
|
mesonFlags = [
|
|
"-Dgtk_doc=true"
|
|
"-Dvapi=true"
|
|
];
|
|
|
|
passthru = {
|
|
updateScript = gnome.updateScript {
|
|
packageName = pname;
|
|
versionPolicy = "odd-unstable";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://wiki.gnome.org/Projects/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.
|
|
'';
|
|
|
|
maintainers = teams.gnome.members;
|
|
platforms = platforms.gnu ++ platforms.linux; # arbitrary choice
|
|
};
|
|
}
|