gnome3.gnome-maps: fix build

This commit is contained in:
Jan Tojnar 2018-03-15 13:22:17 +01:00
parent 63ccf133c7
commit 7bfd055dce
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,31 +1,31 @@
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, gtk3
, gobjectIntrospection, gdk_pixbuf, librsvg, libgweather, autoreconfHook
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, file, libsoup
, webkitgtk }:
, webkitgtk, gjs, libgee, geocode-glib, evolution-data-server, gnome-online-accounts }:
stdenv.mkDerivation rec {
name = "gnome-maps-${version}";
let
pname = "gnome-maps";
version = "3.28.0";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/gnome-maps/${gnome3.versionBranch version}/${name}.tar.xz";
url = "mirror://gnome/sources/${pname}/${gnome3.versionBranch version}/${name}.tar.xz";
sha256 = "1imcgw67cw1qkfz8m2my0f4qmss11fbqqqi4w7afcfq9p0rplgy0";
};
passthru = {
updateScript = gnome3.updateScript { packageName = "gnome-maps"; attrPath = "gnome3.gnome-maps"; };
};
doCheck = true;
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ intltool gobjectIntrospection wrapGAppsHook
gtk3 geoclue2 gnome3.gjs gnome3.libgee folks gfbgraph
gnome3.geocode-glib libchamplain file libsoup
gdk_pixbuf librsvg libgweather autoreconfHook
gnome3.gsettings-desktop-schemas gnome3.evolution-data-server
gnome3.gnome-online-accounts gnome3.defaultIconTheme
webkitgtk ];
nativeBuildInputs = [ intltool wrapGAppsHook file autoreconfHook pkgconfig ];
buildInputs = [
gobjectIntrospection
gtk3 geoclue2 gjs libgee folks gfbgraph
geocode-glib libchamplain libsoup
gdk_pixbuf librsvg libgweather
gnome3.gsettings-desktop-schemas evolution-data-server
gnome-online-accounts gnome3.defaultIconTheme
webkitgtk
];
# The .service file isn't wrapped with the correct environment
# so misses GIR files when started. By re-pointing from the gjs
@ -37,6 +37,13 @@ stdenv.mkDerivation rec {
"Exec=$out/bin/gnome-maps"
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Maps;
description = "A map application for GNOME 3";