Files
nixpkgs/pkgs/by-name/fd/fdupes/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
980 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
ncurses,
pcre2,
sqlite,
}:
stdenv.mkDerivation rec {
pname = "fdupes";
version = "2.4.0";
src = fetchFromGitHub {
owner = "adrianlopezroche";
repo = "fdupes";
rev = "v${version}";
hash = "sha256-epregz+i2mML5zCQErQDJFUFUxnUoqcBlUPGPJ4tcmc=";
};
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [
ncurses
pcre2
sqlite
];
meta = with lib; {
description = "Identifies duplicate files residing within specified directories";
longDescription = ''
fdupes searches the given path for duplicate files.
Such files are found by comparing file sizes and MD5 signatures,
followed by a byte-by-byte comparison.
'';
homepage = "https://github.com/adrianlopezroche/fdupes";
license = licenses.mit;
platforms = platforms.all;
maintainers = [ maintainers.maggesi ];
mainProgram = "fdupes";
};
}