unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#45551] [PATCH] gnu: Add erofs-utils.
@ 2020-12-30  9:43 pukkamustard
  2020-12-31  5:56 ` bug#45551: " Leo Famulari
  0 siblings, 1 reply; 2+ messages in thread
From: pukkamustard @ 2020-12-30  9:43 UTC (permalink / raw)
  To: 45551

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

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 99ad2b421c..4991849dc5 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -52,6 +52,7 @@
 ;;; Copyright © 2020 Greg Hogan <code@greghogan.com>
 ;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
 ;;; Copyright © 2020 David Dashyan <mail@davie.li>
+;;; Copyright © 2020 pukkamustard <pukkamustard@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -7745,3 +7746,32 @@ helpers to setup and teardown io_uring instances, and also a simplified
 interface for applications that don't need (or want) to deal with the full
 kernel side implementation.")
     (license license:expat)))
+
+(define-public erofs-utils
+  (package
+    (name "erofs-utils")
+    (version "1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "07hvijq2hsn3gg1kb8abrfk23n83j57yx8kyv4wqgwhhvd30myjc"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("lz4" ,lz4)
+       ("util-linux" ,util-linux "lib")))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)))
+    (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/")
+    (synopsis "User-space tools for EROFS filesystem")
+    (description "EROFS (Enhanced Read-Only File System) is a compressed,
+read-only filesystem optimized for resource-scarce devices.  This package
+provides user-space tools for creating EROFS filesystems.")
+    (license license:gpl2+)))
-- 
2.29.2





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

* bug#45551: [PATCH] gnu: Add erofs-utils.
  2020-12-30  9:43 [bug#45551] [PATCH] gnu: Add erofs-utils pukkamustard
@ 2020-12-31  5:56 ` Leo Famulari
  0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2020-12-31  5:56 UTC (permalink / raw)
  To: pukkamustard; +Cc: 45551-done

On Wed, Dec 30, 2020 at 10:43:35AM +0100, pukkamustard wrote:
> * gnu/packages/linux.scm (erofs-utils): New variable.

Thanks!

> +       (uri (git-reference
> +             (url "git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git")

I changed it to use an HTTPS address instead of git://

We prefer HTTPS because the connection is authenticated and it provides
some degree of privacy. Additionally, its port (443) is more likely to
be allowed than the port used by the Git protocol (9418).

> +    (inputs
> +     `(("lz4" ,lz4)
> +       ("util-linux" ,util-linux "lib")))

I also changed the "label" of the util-linux dependency to "libuuid", to
communicate more clearly what util-linux is being used for.

Pushed as 764fbd0abcbfffc9302554f264e14777cb18815e




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

end of thread, other threads:[~2020-12-31  5:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30  9:43 [bug#45551] [PATCH] gnu: Add erofs-utils pukkamustard
2020-12-31  5:56 ` bug#45551: " Leo Famulari

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).