2022-05-11 00:03:03 +00:00
|
|
|
{ lib, stdenv, fetchpatch, fetchurl, nettle }:
|
2015-02-14 22:01:54 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "rdfind";
|
2021-09-05 07:05:50 +00:00
|
|
|
version = "1.5.0";
|
2015-02-14 22:01:54 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://rdfind.pauldreik.se/${pname}-${version}.tar.gz";
|
2021-09-05 07:05:50 +00:00
|
|
|
sha256 = "103hfqzgr6izmj57fcy4jsa2nmb1ax43q4b5ij92pcgpaq9fsl21";
|
2015-02-14 22:01:54 +00:00
|
|
|
};
|
|
|
|
|
2022-05-11 00:03:03 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "include-limits.patch";
|
|
|
|
url = "https://github.com/pauldreik/rdfind/commit/61877de88d782b63b17458a61fcc078391499b29.patch";
|
|
|
|
sha256 = "0igzm4833cn905pj84lgr88nd5gx35dnjl8kl8vrwk7bpyii6a8l";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2015-02-14 22:01:54 +00:00
|
|
|
buildInputs = [ nettle ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://rdfind.pauldreik.se/";
|
2015-02-14 22:01:54 +00:00
|
|
|
description = "Removes or hardlinks duplicate files very swiftly";
|
2021-09-05 08:50:11 +00:00
|
|
|
license = licenses.gpl2Plus;
|
2017-11-01 14:31:51 +00:00
|
|
|
maintainers = [ maintainers.wmertens ];
|
|
|
|
platforms = platforms.all;
|
2015-02-14 22:01:54 +00:00
|
|
|
};
|
|
|
|
}
|