2017-11-12 22:53:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
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";
|
2017-11-12 22:53:25 +00:00
|
|
|
version = "1.6.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}";
|
|
|
|
sha256 = "19b6vqblddaw8ccw4sn0qsqzbswlhrz8ia6n4m3hymvcxn8skpz9";
|
2015-09-18 11:55:19 +01:00
|
|
|
};
|
2011-08-23 12:52:38 +01:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
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
|
|
|
};
|
|
|
|
}
|