2020-07-06 08:05:01 +01:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, ncurses, pcre2 }:
|
2008-10-28 11:56:43 +00:00
|
|
|
|
2015-09-18 11:55:19 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "fdupes";
|
2020-07-06 08:05:01 +01:00
|
|
|
version = "2.1.1";
|
2008-10-28 11:56:43 +00:00
|
|
|
|
2015-09-18 11:55:19 +01:00
|
|
|
src = fetchFromGitHub {
|
2017-11-12 22:53:25 +00:00
|
|
|
owner = "adrianlopezroche";
|
|
|
|
repo = "fdupes";
|
|
|
|
rev = "v${version}";
|
2020-07-06 08:05:01 +01:00
|
|
|
sha256 = "1c5hv7vkfxsii1qafhsynzp9zkwim47xkpk27sy64qdsjnhysdak";
|
2015-09-18 11:55:19 +01:00
|
|
|
};
|
2011-08-23 12:52:38 +01:00
|
|
|
|
2020-07-06 08:05:01 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
|
|
buildInputs = [ ncurses pcre2 ];
|
2011-08-23 12:52:38 +01:00
|
|
|
|
2017-11-12 22:53:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Identifies duplicate files residing within specified directories";
|
2008-10-28 11:56:43 +00:00
|
|
|
longDescription = ''
|
2017-11-12 22:53:25 +00:00
|
|
|
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.
|
2008-10-28 11:56:43 +00:00
|
|
|
'';
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/adrianlopezroche/fdupes";
|
2017-11-12 22:53:25 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2019-10-07 15:44:58 +01:00
|
|
|
maintainers = [ maintainers.maggesi ];
|
2008-10-28 11:56:43 +00:00
|
|
|
};
|
|
|
|
}
|