summary refs log tree commit diff
path: root/pkgs/tools/backup
diff options
context:
space:
mode:
authorVladyslav M <dywedir@gra.red>2021-09-15 20:18:41 +0300
committerVladyslav M <dywedir@gra.red>2021-09-15 20:18:41 +0300
commit5fb62e851381fb3af0b1ecc0f8e0225e67f1b553 (patch)
tree0e3b0873e4d5cff9846289523231a0e087b47c53 /pkgs/tools/backup
parent254847bceaa6ebfcc123b5abbfeb1e49e9e4c5ba (diff)
downloadnixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar.gz
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar.bz2
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar.lz
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar.xz
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.tar.zst
nixpkgs-5fb62e851381fb3af0b1ecc0f8e0225e67f1b553.zip
rdedup: 3.1.1 -> 3.2.1
Diffstat (limited to 'pkgs/tools/backup')
-rw-r--r--pkgs/tools/backup/rdedup/default.nix12
-rw-r--r--pkgs/tools/backup/rdedup/v3.1.1-fix-Cargo.lock.patch28
2 files changed, 4 insertions, 36 deletions
diff --git a/pkgs/tools/backup/rdedup/default.nix b/pkgs/tools/backup/rdedup/default.nix
index 482d1aec8da..8f3cc71de1b 100644
--- a/pkgs/tools/backup/rdedup/default.nix
+++ b/pkgs/tools/backup/rdedup/default.nix
@@ -4,20 +4,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "rdedup";
-  version = "3.1.1";
+  version = "3.2.1";
 
   src = fetchFromGitHub {
     owner = "dpc";
     repo = "rdedup";
-    rev = "rdedup-v${version}";
-    sha256 = "0y34a3mpghdmcb2rx4z62q0s351bfmy1287d75mm07ryfgglgsd7";
+    rev = "v${version}";
+    sha256 = "sha256-GEYP18CaCQShvCg8T7YTvlybH1LNO34KBxgmsTv2Lzs=";
   };
 
-  cargoSha256 = "1k0pl9i7zf1ki5ch2zxc1fqsf94bxjlvjrkh0500cycwqcdys296";
-
-  cargoPatches = [
-    ./v3.1.1-fix-Cargo.lock.patch
-  ];
+  cargoSha256 = "sha256-I6d3IyPBcUsrvlzF7W0hFM4hcXi4wWro9bCeP4eArHI=";
 
   nativeBuildInputs = [ pkg-config llvmPackages.libclang clang ];
   buildInputs = [ openssl libsodium xz ]
diff --git a/pkgs/tools/backup/rdedup/v3.1.1-fix-Cargo.lock.patch b/pkgs/tools/backup/rdedup/v3.1.1-fix-Cargo.lock.patch
deleted file mode 100644
index 7dafc7765b7..00000000000
--- a/pkgs/tools/backup/rdedup/v3.1.1-fix-Cargo.lock.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/Cargo.lock b/Cargo.lock
-index 96be83a..fe07471 100644
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -880,12 +880,12 @@ dependencies = [
- 
- [[package]]
- name = "rdedup"
--version = "3.1.0"
-+version = "3.1.1"
- dependencies = [
-  "clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)",
-  "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
-  "log 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
-- "rdedup-lib 3.0.0",
-+ "rdedup-lib 3.1.0",
-  "rpassword 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
-  "slog 2.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
-  "slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-@@ -900,7 +900,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
- 
- [[package]]
- name = "rdedup-lib"
--version = "3.0.0"
-+version = "3.1.0"
- dependencies = [
-  "backblaze-b2 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
-  "base64 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",