gnome3.gnome-maps: fix build
This commit is contained in:
parent
63ccf133c7
commit
7bfd055dce
1 changed files with 23 additions and 16 deletions
|
@ -1,31 +1,31 @@
|
||||||
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, gtk3
|
{ stdenv, fetchurl, intltool, pkgconfig, gnome3, gtk3
|
||||||
, gobjectIntrospection, gdk_pixbuf, librsvg, libgweather, autoreconfHook
|
, gobjectIntrospection, gdk_pixbuf, librsvg, libgweather, autoreconfHook
|
||||||
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, file, libsoup
|
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, file, libsoup
|
||||||
, webkitgtk }:
|
, webkitgtk, gjs, libgee, geocode-glib, evolution-data-server, gnome-online-accounts }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
name = "gnome-maps-${version}";
|
pname = "gnome-maps";
|
||||||
version = "3.28.0";
|
version = "3.28.0";
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
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";
|
sha256 = "1imcgw67cw1qkfz8m2my0f4qmss11fbqqqi4w7afcfq9p0rplgy0";
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru = {
|
|
||||||
updateScript = gnome3.updateScript { packageName = "gnome-maps"; attrPath = "gnome3.gnome-maps"; };
|
|
||||||
};
|
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ intltool wrapGAppsHook file autoreconfHook pkgconfig ];
|
||||||
buildInputs = [ intltool gobjectIntrospection wrapGAppsHook
|
buildInputs = [
|
||||||
gtk3 geoclue2 gnome3.gjs gnome3.libgee folks gfbgraph
|
gobjectIntrospection
|
||||||
gnome3.geocode-glib libchamplain file libsoup
|
gtk3 geoclue2 gjs libgee folks gfbgraph
|
||||||
gdk_pixbuf librsvg libgweather autoreconfHook
|
geocode-glib libchamplain libsoup
|
||||||
gnome3.gsettings-desktop-schemas gnome3.evolution-data-server
|
gdk_pixbuf librsvg libgweather
|
||||||
gnome3.gnome-online-accounts gnome3.defaultIconTheme
|
gnome3.gsettings-desktop-schemas evolution-data-server
|
||||||
webkitgtk ];
|
gnome-online-accounts gnome3.defaultIconTheme
|
||||||
|
webkitgtk
|
||||||
|
];
|
||||||
|
|
||||||
# The .service file isn't wrapped with the correct environment
|
# The .service file isn't wrapped with the correct environment
|
||||||
# so misses GIR files when started. By re-pointing from the gjs
|
# so misses GIR files when started. By re-pointing from the gjs
|
||||||
|
@ -37,6 +37,13 @@ stdenv.mkDerivation rec {
|
||||||
"Exec=$out/bin/gnome-maps"
|
"Exec=$out/bin/gnome-maps"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = gnome3.updateScript {
|
||||||
|
packageName = pname;
|
||||||
|
attrPath = "gnome3.${pname}";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://wiki.gnome.org/Apps/Maps;
|
homepage = https://wiki.gnome.org/Apps/Maps;
|
||||||
description = "A map application for GNOME 3";
|
description = "A map application for GNOME 3";
|
||||||
|
|
Loading…
Reference in a new issue