2015-09-18 11:55:19 +01:00
|
|
|
{stdenv, fetchFromGitHub}:
|
2008-10-28 11:56:43 +00:00
|
|
|
|
2015-09-18 11:55:19 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fdupes-20150902";
|
2008-10-28 11:56:43 +00:00
|
|
|
|
2015-09-18 11:55:19 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jbruchon";
|
|
|
|
repo = "fdupes-jody";
|
|
|
|
rev = "414b1fd64c0a739d4c52228eb72487782855b939";
|
|
|
|
sha256 = "1q6jcj79pljm1f24fqgk8x53xz2x0p1986znw75iljxqyzbvw0ap";
|
|
|
|
};
|
2011-08-23 12:52:38 +01:00
|
|
|
|
|
|
|
makeFlags = "PREFIX=\${out}";
|
|
|
|
|
2008-10-28 11:56:43 +00:00
|
|
|
meta = {
|
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 = ''
|
2015-09-18 11:55:19 +01:00
|
|
|
FDUPES compares inodes' stats, hash sums, and byte by byte file
|
|
|
|
contents to find duplicate files within a set of directories and
|
|
|
|
then applies various actions to those sets, e.g.:
|
|
|
|
* remove some of the duplicates,
|
|
|
|
* turn all the files in a set into hardlinks.
|
2008-10-28 11:56:43 +00:00
|
|
|
'';
|
2015-09-18 11:55:19 +01:00
|
|
|
homepage = src.meta.homepage;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2011-08-23 12:52:38 +01:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
2008-10-28 11:56:43 +00:00
|
|
|
};
|
|
|
|
}
|