about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/filesystems/rdfind/default.nix
blob: 0e7c8fd42d63dd5723690b9d6923273ee29fa5a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{ lib, stdenv, fetchurl, nettle }:

stdenv.mkDerivation rec {
  pname = "rdfind";
  version = "1.6.0";

  src = fetchurl {
    url = "https://rdfind.pauldreik.se/${pname}-${version}.tar.gz";
    sha256 = "sha256-ekBujvGIalhpZVYEYY3Zj2cvEsamvkkm0FO+ZQcPMnk=";
  };

  buildInputs = [ nettle ];

  meta = with lib; {
    homepage = "https://rdfind.pauldreik.se/";
    description = "Removes or hardlinks duplicate files very swiftly";
    license = licenses.gpl2Plus;
    maintainers = [ maintainers.wmertens ];
    platforms = platforms.all;
    mainProgram = "rdfind";
  };
}