unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67363] [PATCH] Add rdfind
@ 2023-11-22 10:04 Tomás Ortín via Guix-patches via
  2024-02-20  9:56 ` bug#67363: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Tomás Ortín via Guix-patches via @ 2023-11-22 10:04 UTC (permalink / raw)
  To: 67363

* gnu/packages/admin.scm (rdfind): New variable.

Change-Id: Ie25bb6b8f5f9a3942eec8d9346da99d73e3bf1dd
---
  gnu/packages/admin.scm | 33 +++++++++++++++++++++++++++++++++
  1 file changed, 33 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 17225863d7..c8cf375f49 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -61,6 +61,7 @@
  ;;; Copyright © 2023 Alexey Abramov <levenson@mmer.org>
  ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu>
  ;;; Copyright © 2023 Tobias Kortkamp <tobias.kortkamp@gmail.com>
+;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@mailbox.org>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -148,6 +149,7 @@ (define-module (gnu packages admin)
    #:use-module (gnu packages mcrypt)
    #:use-module (gnu packages mpi)
    #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages nettle)
    #:use-module (gnu packages networking)
    #:use-module (gnu packages openldap)
    #:use-module (gnu packages package-management)
@@ -6038,3 +6040,34 @@ (define-public bfs
  versions of command{find}, including POSIX, GNU, and *BSD find.")
      (home-page "https://tavianator.com/projects/bfs.html")
      (license license:bsd-0)))
+
+(define-public rdfind
+  (package
+    (name "rdfind")
+    (version "1.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://rdfind.pauldreik.se/" name "-" version
+                           ".tar.gz"))
+       (sha256
+        (base32 "0y9j1w3nbgjks0k4kgm6qq92yrwgv66n212ncmlmhsl8y676wh3s"))))
+    (build-system gnu-build-system)
+    (native-inputs (list which))
+    (inputs (list nettle))
+    (arguments
+     (list
+      #:phases #~(modify-phases %standard-phases
+                   (add-before 'check 'patch-tests
+                     (lambda _
+                       (display (which "echo"))
+                       (substitute* "testcases/common_funcs.sh"
+                         (("/bin/echo")
+                          (which "echo"))))))))
+    (home-page "https://rdfind.pauldreik.se")
+    (synopsis "Find duplicate files")
+    (description
+     "Rdfind is a command line tool that finds duplicate files based on
+their content instead of their file names.  It is useful for compressing
+backup directories or just finding duplicate files.")
+    (license license:gpl2+)))

base-commit: d20ece07dbb09382f361c8bbf0bcab9e83d8b73e
-- 
2.41.0




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#67363: [PATCH] Add rdfind
  2023-11-22 10:04 [bug#67363] [PATCH] Add rdfind Tomás Ortín via Guix-patches via
@ 2024-02-20  9:56 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2024-02-20  9:56 UTC (permalink / raw)
  To: Tomás Ortín; +Cc: 67363-done

Tomás Ortín <tomasortin@mailbox.org> skribis:

> * gnu/packages/admin.scm (rdfind): New variable.
>
> Change-Id: Ie25bb6b8f5f9a3942eec8d9346da99d73e3bf1dd

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-20  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-22 10:04 [bug#67363] [PATCH] Add rdfind Tomás Ortín via Guix-patches via
2024-02-20  9:56 ` bug#67363: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).