all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40630] gnu: Add udevil.
@ 2020-04-14 19:03 Raghav Gururajan
  2020-04-22 22:22 ` bug#40630: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Raghav Gururajan @ 2020-04-14 19:03 UTC (permalink / raw)
  To: 40630

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

Hello Guix!

Please find the attached patch to add 'udevil' package into guix.

Regards,
RG.

[-- Attachment #2: 0001-gnu-Add-udevil.patch --]
[-- Type: text/x-patch, Size: 2844 bytes --]

From ef9619d878482d4be25cfb97720ef8e616b5487d Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <raghavgururajan@disroot.org>
Date: Tue, 14 Apr 2020 15:01:43 -0400
Subject: [PATCH] gnu: Add udevil.

* gnu/packages/disk.scm (udevil): New variable.
---
 gnu/packages/disk.scm | 50 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index fb35799e65..27fcf7bb77 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -47,6 +47,7 @@
   #:use-module (gnu packages docbook)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
+  #:use-module (gnu packages file-systems)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -64,6 +65,7 @@
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages readline)
+  #:use-module (gnu packages samba)
   #:use-module (gnu packages sphinx)
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages swig)
@@ -84,6 +86,54 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages))
 
+(define-public udevil
+  (package
+    (name "udevil")
+    (version "0.4.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri
+        (git-reference
+         (url "https://github.com/IgnorantGuru/udevil.git")
+         (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0x9mjr9abvbxzfa9mrip5264iz1qxvsl01k3ybz95q4a7xl4jcb3"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list
+        "--disable-systemd"
+        (string-append "--sysconfdir="
+                       (assoc-ref %outputs "out")
+                       "/etc"))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch
+           (lambda _
+             (substitute* "src/Makefile.in"
+               (("-o root -g root")
+                ""))
+             #t)))))
+    (native-inputs
+     `(("intltool" ,intltool)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("cifs-utils" ,cifs-utils)
+       ("curlftpfs" ,curlftpfs)
+       ("eudev" ,eudev)
+       ("fakeroot" ,fakeroot)
+       ("glib" ,glib)
+       ("sshfs" ,sshfs)))
+    (synopsis "Device and File System Manager")
+    (description "udevil is a command line program which mounts and unmounts
+removable devices without a password, shows device info, and monitors device
+changes.  It can also mount ISO files, nfs://, smb://, ftp://, ssh:// and WebDAV
+URLs, and tmpfs/ramfs filesystems.")
+    (home-page "https://ignorantguru.github.io/udevil/")
+    (license license:gpl3+)))
+
 (define-public parted
   (package
     (name "parted")
-- 
2.26.0


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

* bug#40630: gnu: Add udevil.
  2020-04-14 19:03 [bug#40630] gnu: Add udevil Raghav Gururajan
@ 2020-04-22 22:22 ` Nicolas Goaziou
  2020-04-22 22:24   ` [bug#40630] " Raghav Gururajan
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-04-22 22:22 UTC (permalink / raw)
  To: Raghav Gururajan; +Cc: 40630-done

Hello,

Raghav Gururajan <raghavgururajan@disroot.org> writes:

> Subject: [PATCH] gnu: Add udevil.

Applied as 159e9dce170bc5368248db42722edcfd974b8ad4. Thank you.

> +       (modify-phases %standard-phases
> +         (add-after 'unpack 'patch

I renamed the phase, `phase' being too vague.

> +    (synopsis "Device and File System Manager")

I capitalized the synopsis instead of title case.

> +    (description "udevil is a command line program which mounts and unmounts
> +removable devices without a password, shows device info, and monitors device
> +changes.  It can also mount ISO files, nfs://, smb://, ftp://, ssh:// and WebDAV
> +URLs, and tmpfs/ramfs filesystems.")

I wrote NFS, SMB, FTP, SSH.

Regards,

-- 
Nicolas Goaziou

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

* [bug#40630] gnu: Add udevil.
  2020-04-22 22:22 ` bug#40630: " Nicolas Goaziou
@ 2020-04-22 22:24   ` Raghav Gururajan
  0 siblings, 0 replies; 3+ messages in thread
From: Raghav Gururajan @ 2020-04-22 22:24 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 40630-done

Hi Nicolas!

> > Subject: [PATCH] gnu: Add udevil.  
> 
> Applied as 159e9dce170bc5368248db42722edcfd974b8ad4. Thank you.
> 
> > +       (modify-phases %standard-phases
> > +         (add-after 'unpack 'patch  
> 
> I renamed the phase, `phase' being too vague.
> 
> > +    (synopsis "Device and File System Manager")  
> 
> I capitalized the synopsis instead of title case.
> 
> > +    (description "udevil is a command line program which mounts and
> > unmounts +removable devices without a password, shows device info, and
> > monitors device +changes.  It can also mount ISO files, nfs://, smb://,
> > ftp://, ssh:// and WebDAV +URLs, and tmpfs/ramfs filesystems.")  
> 
> I wrote NFS, SMB, FTP, SSH.

Thank you very much.

Regards,
RG.

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

end of thread, other threads:[~2020-04-22 22:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-14 19:03 [bug#40630] gnu: Add udevil Raghav Gururajan
2020-04-22 22:22 ` bug#40630: " Nicolas Goaziou
2020-04-22 22:24   ` [bug#40630] " Raghav Gururajan

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.