nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 19.03 45 lines 1.4 kB view raw
1{ fetchurl, stdenv, pkgconfig, glib, gtk3, cairo, sqlite, gnome3 2, clutter-gtk, libsoup, gobject-introspection /*, libmemphis */ }: 3 4let 5 pname = "libchamplain"; 6 version = "0.12.16"; 7in 8stdenv.mkDerivation rec { 9 name = "${pname}-${version}"; 10 11 src = fetchurl { 12 url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz"; 13 sha256 = "13chvc2n074i0jw5jlb8i7cysda4yqx58ca6y3mrlrl9g37k2zja"; 14 }; 15 16 outputs = [ "out" "dev" ]; 17 18 nativeBuildInputs = [ pkgconfig gobject-introspection ]; 19 20 propagatedBuildInputs = [ glib gtk3 cairo clutter-gtk sqlite libsoup ]; 21 22 passthru = { 23 updateScript = gnome3.updateScript { 24 packageName = pname; 25 }; 26 }; 27 28 meta = with stdenv.lib; { 29 homepage = https://wiki.gnome.org/Projects/libchamplain; 30 license = licenses.lgpl2Plus; 31 32 description = "C library providing a ClutterActor to display maps"; 33 34 longDescription = '' 35 libchamplain is a C library providing a ClutterActor to display 36 maps. It also provides a Gtk+ widget to display maps in Gtk+ 37 applications. Python and Perl bindings are also available. It 38 supports numerous free map sources such as OpenStreetMap, 39 OpenCycleMap, OpenAerialMap, and Maps for free. 40 ''; 41 42 maintainers = gnome3.maintainers; 43 platforms = platforms.gnu ++ platforms.linux; # arbitrary choice 44 }; 45}