diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2018-03-15 13:22:17 +0100 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2018-03-22 07:46:53 +0100 |
commit | 7bfd055dce12f0498d5084696075a55164319cd0 (patch) | |
tree | 11a4f3753f41cf85660fb6a914f41b0ecfb0361f /pkgs/desktops/gnome-3/apps/gnome-maps/default.nix | |
parent | 63ccf133c76f9892bd23ec04f36a3428d34b3107 (diff) | |
download | nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar.gz nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar.bz2 nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar.lz nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar.xz nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.tar.zst nixpkgs-7bfd055dce12f0498d5084696075a55164319cd0.zip |
gnome3.gnome-maps: fix build
Diffstat (limited to 'pkgs/desktops/gnome-3/apps/gnome-maps/default.nix')
-rw-r--r-- | pkgs/desktops/gnome-3/apps/gnome-maps/default.nix | 39 |
1 files changed, 23 insertions, 16 deletions
diff --git a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix index 1c18b6c5c82..1c9d243c0c5 100644 --- a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix +++ b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix @@ -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"; |