[bug#75089,rust-team,14/27] gnu: rust-dirs-sys-next-0.1: Do not inherit rust-dirs-sys-0.3.

Message ID 3cc0ab5955686a3bd05be998b9e935421901991f.1735140636.git.herman@rimm.ee
State New
Headers
Series Refactor (gnu packages crates-io). |

Commit Message

Herman Rimm Dec. 25, 2024, 4:01 p.m. UTC
  * 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(-)
  

Patch

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