Unverified Commit ee1b987b authored by Bobby Rong's avatar Bobby Rong
Browse files
parent 635a306f
Loading
Loading
Loading
Loading
+2 −9
Original line number Diff line number Diff line
@@ -34,18 +34,17 @@
, libsecret
, libportal-gtk3
, gsettings-desktop-schemas
, python3
}:

# for dependencies see https://wiki.gnome.org/Apps/Shotwell/BuildingAndInstalling

stdenv.mkDerivation rec {
  pname = "shotwell";
  version = "0.32.0";
  version = "0.32.1";

  src = fetchurl {
    url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
    sha256 = "sha256-F3Ky+h56VHnVKAKLyaMD8oVeHZWaWzyReSLmOpipCxk=";
    sha256 = "sha256-SsRRdBatiqI7ROdcNL1uFrq3Nj+iCZG7CbrN+rP3Y84=";
  };

  nativeBuildInputs = [
@@ -56,7 +55,6 @@ stdenv.mkDerivation rec {
    itstool
    gettext
    desktop-file-utils
    python3
    wrapGAppsHook
    gobject-introspection
  ];
@@ -91,11 +89,6 @@ stdenv.mkDerivation rec {
    libportal-gtk3
  ];

  postPatch = ''
    chmod +x build-aux/meson/postinstall.py # patchShebangs requires executable file
    patchShebangs build-aux/meson/postinstall.py
  '';

  passthru = {
    updateScript = gnome.updateScript {
      packageName = pname;