2017-11-12 22:53:25 +00:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2008-10-28 11:56:43 +00:00
|
|
|
|
2015-09-18 10:55:19 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00: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 10:55:19 +00:00
|
|
|
src = fetchFromGitHub {
|
2017-11-12 22:53:25 +00:00
|
|
|
owner = "adrianlopezroche";
|
|
|
|
repo = "fdupes";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "19b6vqblddaw8ccw4sn0qsqzbswlhrz8ia6n4m3hymvcxn8skpz9";
|
2015-09-18 10:55:19 +00:00
|
|
|
};
|
2011-08-23 11:52:38 +00:00
|
|
|
|
2019-10-27 13:03:25 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2011-08-23 11:52:38 +00:00
|
|
|
|
2017-11-12 22:53:25 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 09:49:53 +00: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
|
|
|
'';
|
2017-11-12 22:53:25 +00:00
|
|
|
homepage = https://github.com/adrianlopezroche/fdupes;
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.all;
|
2019-10-07 14:44:58 +00:00
|
|
|
maintainers = [ maintainers.maggesi ];
|
2008-10-28 11:56:43 +00:00
|
|
|
};
|
|
|
|
}
|