lol
1{ lib, fetchFromGitHub, rustPlatform, ... }:
2rustPlatform.buildRustPackage rec {
3 pname = "ddh";
4 version = "0.13.0";
5
6 src = fetchFromGitHub {
7 owner = "darakian";
8 repo = pname;
9 rev = version;
10 sha256 = "XFfTpX4c821pcTAJZFUjdqM940fRoBwkJC6KTknXtCw=";
11 };
12
13 cargoSha256 = "6yPDkbag81TZ4k72rbmGT6HWKdGK4yfKxjGNFKEWXPI=";
14
15 meta = with lib; {
16 description = "A fast duplicate file finder";
17 longDescription = ''
18 DDH traverses input directories and their subdirectories.
19 It also hashes files as needed and reports findings.
20 '';
21 homepage = "https://github.com/darakian/ddh";
22 license = licenses.lgpl3Only;
23 maintainers = with maintainers; [ h7x4 ];
24 platforms = platforms.all;
25 };
26}