From cfe10a28afdfc699e5ef39c66fd7d91ec361742e Mon Sep 17 00:00:00 2001 From: e1mo Date: Mon, 22 Apr 2024 12:09:36 +0200 Subject: [PATCH] fdupes: 2.2.1 -> 2.3.0 > Changes from 2.2.1 to 2.3.0: > > - Add --cache option to speed up file comparisons. > - Use nanosecond precision for file times, if available. > - Fix compilation issue on OpenBSD. > - Other changes like fixing typos, wording, etc. Changelog: https://github.com/adrianlopezroche/fdupes/releases/tag/v2.3.0 --- pkgs/tools/misc/fdupes/default.nix | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/fdupes/default.nix b/pkgs/tools/misc/fdupes/default.nix index e4e52115c356..fefb3992749b 100644 --- a/pkgs/tools/misc/fdupes/default.nix +++ b/pkgs/tools/misc/fdupes/default.nix @@ -1,18 +1,33 @@ -{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, ncurses, pcre2 }: +{ lib +, stdenv +, fetchFromGitHub +, autoreconfHook +, pkg-config +, ncurses +, pcre2 +, sqlite +}: stdenv.mkDerivation rec { pname = "fdupes"; - version = "2.2.1"; + version = "2.3.0"; src = fetchFromGitHub { owner = "adrianlopezroche"; - repo = "fdupes"; - rev = "v${version}"; - hash = "sha256-8GYQfnUxS790pDXw2sjnDZNB55PMDaCcO6daIa/MPMw="; + repo = "fdupes"; + rev = "v${version}"; + hash = "sha256-BW6a5vKRAuXs/zWPHhtZs6Y4scyCEfqHEAkGUSUiwkI="; }; - nativeBuildInputs = [ autoreconfHook pkg-config ]; - buildInputs = [ ncurses pcre2 ]; + nativeBuildInputs = [ + autoreconfHook + pkg-config + ]; + buildInputs = [ + ncurses + pcre2 + sqlite + ]; meta = with lib; { description = "Identifies duplicate files residing within specified directories";