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