Commit 7ade1a4b authored by Robert Schütz's avatar Robert Schütz
Browse files
parent 3fbda645
Loading
Loading
Loading
Loading
+5 −7
Original line number Diff line number Diff line
@@ -7,13 +7,12 @@
, pkg-config
, wrapGAppsHook4
, cairo
, dbus
, gdk-pixbuf
, glib
, graphene
, gtk3
, gtk4
, libadwaita
, libappindicator-gtk3
, librclone
, pango
, rclone
@@ -21,16 +20,16 @@

rustPlatform.buildRustPackage rec {
  pname = "celeste";
  version = "0.7.0";
  version = "0.8.0";

  src = fetchFromGitHub {
    owner = "hwittenborn";
    repo = "celeste";
    rev = "v${version}";
    hash = "sha256-fqPAQCbuPnFyn3wioWDETmcXu53808nvnlEzcdUevI4=";
    hash = "sha256-U+2imF4hUDJAwwf/RFZXfOgTxA+O8c6C+CzQoEQreJw=";
  };

  cargoHash = "sha256-mVl7CsCX7HMlGC2EIKEfHnPNjmrexjsrpDK/Uq/GwpY=";
  cargoHash = "sha256-9DrJoXT/uD8y7y2r58DMuURSaic+TtlnPPbw/gq9jPA=";

  postPatch = ''
    pushd $cargoDepsCopy/librclone-sys
@@ -64,10 +63,10 @@ rustPlatform.buildRustPackage rec {

  buildInputs = [
    cairo
    dbus
    gdk-pixbuf
    glib
    graphene
    gtk3
    gtk4
    libadwaita
    librclone
@@ -76,7 +75,6 @@ rustPlatform.buildRustPackage rec {

  preFixup = ''
    gappsWrapperArgs+=(
      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libappindicator-gtk3 ]}"
      --prefix PATH : "${lib.makeBinPath [ rclone ]}"
    )
  '';