Subject: [PATCH rust-team 14/27] gnu: rust-dirs-sys-next-0.1: Do not inherit rust-dirs-sys-0.3.

From: Herman Rimm <[email-masked]>
Date: Wed, 25 Dec 2024 17:01:48 +0100

* gnu/packages/crates-io.scm (rust-dirs-sys-next-0.1): Do not inherit.
[build-system, synopsis, description, license]: Add.

Change-Id: I5f92e608962dfee4eca6a6f4d3cc6506ac4c9c6f
---
 gnu/packages/crates-io.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 076013fc60..a0dce8cc5c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24015,7 +24015,6 @@ (define-public rust-dirs-sys-0.3
 
 (define-public rust-dirs-sys-next-0.1
   (package
-    (inherit rust-dirs-sys-0.3)
     (name "rust-dirs-sys-next")
     (version "0.1.2")
     (source
@@ -24026,12 +24025,18 @@ (define-public rust-dirs-sys-next-0.1
        (sha256
         (base32
          "0kavhavdxv4phzj4l0psvh55hszwnr0rcz8sxbvx20pyqi2a3gaf"))))
+    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
         ("rust-redox-users" ,rust-redox-users-0.4)
         ("rust-winapi" ,rust-winapi-0.3))))
-    (home-page "https://github.com/xdg-rs/dirs/tree/master/dirs-sys")))
+    (home-page "https://github.com/xdg-rs/dirs/tree/master/dirs-sys")
+    (synopsis "Shared code for dirs-next and directories-next")
+    (description
+     "This package only exists to facilitate code sharing between
+dirs-next and directories-next.")
+    (license (list license:expat license:asl2.0))))
 
 (define-public rust-discard-1
   (package
-- 
2.45.2