lol
1{ lib, stdenv, fetchFromGitHub, autoreconfHook, ncurses, pcre2 }:
2
3stdenv.mkDerivation rec {
4 pname = "fdupes";
5 version = "2.1.1";
6
7 src = fetchFromGitHub {
8 owner = "adrianlopezroche";
9 repo = "fdupes";
10 rev = "v${version}";
11 sha256 = "1c5hv7vkfxsii1qafhsynzp9zkwim47xkpk27sy64qdsjnhysdak";
12 };
13
14 nativeBuildInputs = [ autoreconfHook ];
15 buildInputs = [ ncurses pcre2 ];
16
17 meta = with lib; {
18 description = "Identifies duplicate files residing within specified directories";
19 longDescription = ''
20 fdupes searches the given path for duplicate files.
21 Such files are found by comparing file sizes and MD5 signatures,
22 followed by a byte-by-byte comparison.
23 '';
24 homepage = "https://github.com/adrianlopezroche/fdupes";
25 license = licenses.mit;
26 platforms = platforms.all;
27 maintainers = [ maintainers.maggesi ];
28 };
29}