all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#68854] [PATCH] Add rdfind package
@ 2024-01-31 16:38 Noé LOPEZ
  2024-02-07 11:44 ` [bug#68854] (no subject) Tomás Ortín via Guix-patches via
  0 siblings, 1 reply; 2+ messages in thread
From: Noé LOPEZ @ 2024-01-31 16:38 UTC (permalink / raw)
  To: 68854

[-- Attachment #1: Type: text/plain, Size: 74 bytes --]

Hi,

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

Good evening,
Noé Lopez

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-rdfind.patch --]
[-- Type: text/x-diff; name=0001-gnu-Add-rdfind.patch, Size: 1743 bytes --]

From bf43dbbaf9ebaa33be609f291f1bdc9aad07fe13 Mon Sep 17 00:00:00 2001
Message-ID: <bf43dbbaf9ebaa33be609f291f1bdc9aad07fe13.1706718647.git.noelopez@free.fr>
From: =?UTF-8?q?No=C3=A9=20Lopez?= <noelopez@free.fr>
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


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

* [bug#68854] (no subject)
  2024-01-31 16:38 [bug#68854] [PATCH] Add rdfind package Noé LOPEZ
@ 2024-02-07 11:44 ` Tomás Ortín via Guix-patches via
  0 siblings, 0 replies; 2+ messages in thread
From: Tomás Ortín via Guix-patches via @ 2024-02-07 11:44 UTC (permalink / raw)
  To: 68854

Hello Noe, I already sent a patch to add rdfind some time ago: 
https://issues.guix.gnu.org/67363

I point it out more than anything so you can take a look at a way to 
deal with issues such as the attempt to call "/bin/echo" without 
disabling tests.
Also, tests can be disabled by passing "#:tests? #f", no need to delete 
the phase :-)




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

end of thread, other threads:[~2024-02-07 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-31 16:38 [bug#68854] [PATCH] Add rdfind package Noé LOPEZ
2024-02-07 11:44 ` [bug#68854] (no subject) Tomás Ortín via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.