Subject: [PATCH] gnu: Add udftools.

From: Ron Nazarov <[email-masked]>
Date: Tue, 1 Jun 2021 23:42:50 +0100

* gnu/packages/linux.scm (udftools): New variable.
---
 gnu/packages/linux.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index b803426b74..aaafd892a7 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2020 David Dashyan <[email-masked]>
 ;;; Copyright © 2020 pukkamustard <[email-masked]>
 ;;; Copyright © 2021 B. Wilson <[email-masked]>
+;;; Copyright © 2021 Noisytoot <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5226,6 +5227,33 @@ small devices.  This version has additional features such as uncompressed
 blocks and random block placement.")
     (license license:gpl2+)))
 
+(define-public udftools
+  (package
+    (name "udftools")
+    (version "2.3")
+    (source (origin
+	      (method git-fetch)
+	      (uri (git-reference
+		    (url "https://github.com/pali/udftools")
+		    (commit version)))
+	      (sha256
+	       (base32
+	        "1nl2s61znyzaap23zhbdg3znj6l6akr313fchn5wwvjzj8k70is9"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("automake" ,automake)
+       ("autoconf" ,autoconf)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://github.com/pali/udftools")
+    (synopsis "Tools to manage @acronym{UDF, Universal Disk Format} filesystems and DVD/CD-R(W) drives")
+    (description "@code{udftools} is a set of programs for reading
+and modifying @acronym{UDF, Universal Disk Format} filesystems.
+@acronym{UDF, Universal Disk Format} is a filesystem mostly used for DVDs and other optical media.
+It supports read-only media (DVD/CD-R) and rewritable media that wears out (DVD/CD-RW).")
+    (license license:gpl2+)))
+
 (define-public compsize
   (package
     (name "compsize")
-- 
2.31.1