nixpkgs/pkgs/development/libraries/libchamplain/default.nix

50 lines
1.5 KiB
Nix
Raw Normal View History

{ fetchurl, stdenv, meson, ninja, vala, gtk-doc, docbook_xsl, docbook_xml_dtd_412, pkgconfig, glib, gtk3, cairo, sqlite, gnome3
, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }:
stdenv.mkDerivation rec {
pname = "libchamplain";
version = "0.12.20";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0rihpb0npqpihqcdz4w03rq6xl7jdckfqskvv9diq2hkrnzv8ch2";
};
outputs = [ "out" "dev" "devdoc" ];
nativeBuildInputs = [ meson ninja pkgconfig 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"
];
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; {
homepage = "https://wiki.gnome.org/Projects/libchamplain";
2015-09-21 08:24:32 +01:00
license = licenses.lgpl2Plus;
description = "C library providing a ClutterActor to display maps";
2018-03-03 02:43:23 +00:00
longDescription = ''
libchamplain is a C library providing a ClutterActor to display
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.
'';
maintainers = teams.gnome.members;
platforms = platforms.gnu ++ platforms.linux; # arbitrary choice
};
}