2015-09-18 12:55:19 +02:00
|
|
|
{stdenv, fetchFromGitHub}:
|
2008-10-28 12:56:43 +01:00
|
|
|
|
2015-09-18 12:55:19 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "fdupes-20150902";
|
2008-10-28 12:56:43 +01:00
|
|
|
|
2015-09-18 12:55:19 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jbruchon";
|
|
|
|
repo = "fdupes-jody";
|
|
|
|
rev = "414b1fd64c0a739d4c52228eb72487782855b939";
|
|
|
|
sha256 = "1q6jcj79pljm1f24fqgk8x53xz2x0p1986znw75iljxqyzbvw0ap";
|
|
|
|
};
|
2011-08-23 13:52:38 +02:00
|
|
|
|
|
|
|
makeFlags = "PREFIX=\${out}";
|
|
|
|
|
2008-10-28 12:56:43 +01:00
|
|
|
meta = {
|
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 = ''
|
2015-09-18 12:55:19 +02: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 12:56:43 +01:00
|
|
|
'';
|
2015-09-18 12:55:19 +02:00
|
|
|
homepage = src.meta.homepage;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2011-08-23 13:52:38 +02:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [
|
|
|
|
stdenv.lib.maintainers.z77z
|
|
|
|
];
|
2008-10-28 12:56:43 +01:00
|
|
|
};
|
|
|
|
}
|