summary refs log tree commit diff
path: root/pkgs/applications/graphics/shotwell
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2018-09-05 00:52:24 +0000
committerJan Tojnar <jtojnar@gmail.com>2018-11-30 21:34:39 +0100
commitbb3a7342c375ed2706ef547d386380ad8770ecb7 (patch)
treea964789a52ae57c2612a65f5abb570e16e938faa /pkgs/applications/graphics/shotwell
parent036d7d40f34af049789a54e3f898bb24a056eec7 (diff)
downloadnixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar.gz
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar.bz2
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar.lz
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar.xz
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.tar.zst
nixpkgs-bb3a7342c375ed2706ef547d386380ad8770ecb7.zip
shotwell: 0.28.2 → 0.30.0
Diffstat (limited to 'pkgs/applications/graphics/shotwell')
-rw-r--r--pkgs/applications/graphics/shotwell/default.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/applications/graphics/shotwell/default.nix b/pkgs/applications/graphics/shotwell/default.nix
index be572ca32f9..8eba574ef83 100644
--- a/pkgs/applications/graphics/shotwell/default.nix
+++ b/pkgs/applications/graphics/shotwell/default.nix
@@ -1,23 +1,23 @@
 { fetchurl, stdenv, meson, ninja, gtk3, libexif, libgphoto2, libsoup, libxml2, vala, sqlite
 , webkitgtk, pkgconfig, gnome3, gst_all_1, libgudev, libraw, glib, json-glib
 , gettext, desktop-file-utils, gdk_pixbuf, librsvg, wrapGAppsHook
-, gobjectIntrospection, itstool, libgdata }:
+, gobjectIntrospection, itstool, libgdata, python3 }:
 
 # for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling
 
 let
   pname = "shotwell";
-  version = "0.28.2";
+  version = "0.30.1";
 in stdenv.mkDerivation rec {
   name = "${pname}-${version}";
 
   src = fetchurl {
     url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
-    sha256 = "0pa7lb33i4hdnz7hr7x938d48ilrnj47jzb99la79rmm08yyin8n";
+    sha256 = "01hsmig06hjv34yf9y60hv2gml593xfkza4ilq4b22gr8l4v2qip";
   };
 
   nativeBuildInputs = [
-    meson ninja vala pkgconfig itstool gettext desktop-file-utils wrapGAppsHook gobjectIntrospection
+    meson ninja vala pkgconfig itstool gettext desktop-file-utils python3 wrapGAppsHook gobjectIntrospection
   ];
 
   buildInputs = [
@@ -28,8 +28,9 @@ in stdenv.mkDerivation rec {
     gnome3.gcr gnome3.defaultIconTheme libgdata
   ];
 
-  postInstall = ''
-    glib-compile-schemas $out/share/glib-2.0/schemas
+  postPatch = ''
+    chmod +x build-aux/meson/postinstall.py # patchShebangs requires executable file
+    patchShebangs build-aux/meson/postinstall.py
   '';
 
   passthru = {