about summary refs log tree commit diff
path: root/pkgs/applications/networking/sync/celeste
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2023-09-16 13:37:43 -0700
committerRobert Schütz <nix@dotlambda.de>2023-09-16 14:04:31 -0700
commit9abe8e8ea26d60a3488e3699b402dd0e02eb96d1 (patch)
tree954ec637a14f76350ecaf86fae140731eb3e0dcd /pkgs/applications/networking/sync/celeste
parent3b4ba08b9527c00433cb6dcf6b3f45afc922d19c (diff)
celeste: 0.5.2 -> 0.5.8
Diff: https://github.com/hwittenborn/celeste/compare/v0.5.2...v0.5.8

Changelog: https://github.com/hwittenborn/celeste/blob/v0.5.8/CHANGELOG.md
Diffstat (limited to 'pkgs/applications/networking/sync/celeste')
-rw-r--r--pkgs/applications/networking/sync/celeste/default.nix22
1 files changed, 4 insertions, 18 deletions
diff --git a/pkgs/applications/networking/sync/celeste/default.nix b/pkgs/applications/networking/sync/celeste/default.nix
index 0e0b36263831e..d7a83967450ff 100644
--- a/pkgs/applications/networking/sync/celeste/default.nix
+++ b/pkgs/applications/networking/sync/celeste/default.nix
@@ -4,7 +4,6 @@
 , rustPlatform
 , fetchFromGitHub
 , substituteAll
-, fetchpatch
 , pkg-config
 , wrapGAppsHook4
 , cairo
@@ -20,25 +19,18 @@
 , rclone
 }:
 
-let
-  # https://github.com/trevyn/librclone/pull/8
-  librclone-mismatched-types-patch = fetchpatch {
-    name = "use-c_char-to-be-platform-independent.patch";
-    url = "https://github.com/trevyn/librclone/commit/91fdf3fa5f5eea0dfd06981ba72e09034974fdad.patch";
-    hash = "sha256-8YDyUNP/ISP5jCliT6UCxZ89fdRFud+6u6P29XdPy58=";
-  };
-in rustPlatform.buildRustPackage rec {
+rustPlatform.buildRustPackage rec {
   pname = "celeste";
-  version = "0.5.2";
+  version = "0.5.8";
 
   src = fetchFromGitHub {
     owner = "hwittenborn";
     repo = "celeste";
     rev = "v${version}";
-    hash = "sha256-pFtyfKGPlwum/twGXi/e82BjINy6/MMvvmVfrwWHTQg=";
+    hash = "sha256-U/6aqQig+uuWj/B9CODnV6chxY+KfMH7DqnPtSTDSA0=";
   };
 
-  cargoHash = "sha256-wcgu4KApkn68Tpk3PQ9Tkxif++/8CmS4f8AOOpCA/X8=";
+  cargoHash = "sha256-69LK/oicfmSPbUGGzWV9kvXkHqMvEzCG8xCu61MxSdk=";
 
   patches = [
     (substituteAll {
@@ -56,12 +48,6 @@ in rustPlatform.buildRustPackage rec {
     substituteInPlace .cargo-checksum.json \
       --replace $oldHash $(sha256sum build.rs | cut -d " " -f 1)
     popd
-    pushd $cargoDepsCopy/librclone
-    oldHash=$(sha256sum src/lib.rs | cut -d " " -f 1)
-    patch -p1 < ${librclone-mismatched-types-patch}
-    substituteInPlace .cargo-checksum.json \
-      --replace $oldHash $(sha256sum src/lib.rs | cut -d " " -f 1)
-    popd
   '';
 
   # Cargo.lock is outdated