lol
1{stdenv, fetchFromGitHub}:
2
3stdenv.mkDerivation rec {
4 name = "fdupes-20150902";
5
6 src = fetchFromGitHub {
7 owner = "jbruchon";
8 repo = "fdupes-jody";
9 rev = "414b1fd64c0a739d4c52228eb72487782855b939";
10 sha256 = "1q6jcj79pljm1f24fqgk8x53xz2x0p1986znw75iljxqyzbvw0ap";
11 };
12
13 makeFlags = "PREFIX=\${out}";
14
15 meta = {
16 description = "Identifies duplicate files residing within specified directories";
17 longDescription = ''
18 FDUPES compares inodes' stats, hash sums, and byte by byte file
19 contents to find duplicate files within a set of directories and
20 then applies various actions to those sets, e.g.:
21 * remove some of the duplicates,
22 * turn all the files in a set into hardlinks.
23 '';
24 homepage = src.meta.homepage;
25 license = stdenv.lib.licenses.mit;
26 platforms = stdenv.lib.platforms.all;
27 maintainers = [
28 stdenv.lib.maintainers.z77z
29 ];
30 };
31}