2020-07-18 16:06:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pcre2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fdupes";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "2.1.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "adrianlopezroche";
|
|
|
|
repo = "fdupes";
|
|
|
|
rev = "v${version}";
|
2020-07-18 16:06:22 +00:00
|
|
|
sha256 = "1c5hv7vkfxsii1qafhsynzp9zkwim47xkpk27sy64qdsjnhysdak";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ ncurses pcre2 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.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 ];
|
|
|
|
};
|
|
|
|
}
|