Subject: [PATCH] Add rdfind package

From: Noé LOPEZ <[email-masked]>
Date: Wed, 31 Jan 2024 17:38:46 +0100

Hi,

Here's a patch to add a package for rdfind.

Good evening,
Noé Lopez

From bf43dbbaf9ebaa33be609f291f1bdc9aad07fe13 Mon Sep 17 00:00:00 2001
Message-ID: <[email-masked]>
From: =?UTF-8?q?No=C3=A9=20Lopez?= <[email-masked]>
Date: Wed, 31 Jan 2024 17:26:07 +0100
Subject: [PATCH] gnu: Add rdfind.

* gnu/packages/rdfind.scm: Add rdfind.

Change-Id: I0666a68a3a457326a329ba41bf6eba92b71eccbb
---
 gnu/packages/rdfind.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 gnu/packages/rdfind.scm

diff --git a/gnu/packages/rdfind.scm b/gnu/packages/rdfind.scm
new file mode 100644
index 0000000000..810f96c602
--- /dev/null
+++ b/gnu/packages/rdfind.scm
@@ -0,0 +1,28 @@
+(define-module (gnu packages rdfind)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (gnu packages nettle)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix licenses))
+
+(define-public rdfind
+  (package
+    (name "rdfind")
+    (version "1.6.0")
+    (inputs (list nettle))
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://rdfind.pauldreik.se/rdfind-" version
+                           ".tar.gz"))
+       (sha256
+        (base32 "0y9j1w3nbgjks0k4kgm6qq92yrwgv66n212ncmlmhsl8y676wh3s"))))
+    (build-system gnu-build-system)
+    ;; Need to delete check because it tries to use /bin/echo
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (delete 'check))))
+    (synopsis "Find duplicate files utility")
+    (description "Rdfind is a command line tool that finds duplicate files.")
+    (home-page "https://rdfind.pauldreik.se/")
+    (license gpl2+)))

base-commit: 7a45f7b9e1b34912ee087daf4014aa4f67b11bf0
-- 
2.41.0