guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

88/109: gnu: rust-dunce-1: Move to (gnu packages crates-windows).


From: guix-commits
Subject: 88/109: gnu: rust-dunce-1: Move to (gnu packages crates-windows).
Date: Wed, 27 Dec 2023 10:11:18 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit b5df13686e4b6e1138dcab770dd446088599f2a0
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 27 15:04:06 2023 +0200

    gnu: rust-dunce-1: Move to (gnu packages crates-windows).
    
    * gnu/packages/crates-io.scm (rust-dunce-1): Move from here ...
    * gnu/packages/crates-windows.scm: ... to here.
    
    Change-Id: I230d2476df38f735cb20a4b375befa6e9ae94509
---
 gnu/packages/crates-io.scm      | 22 ----------------------
 gnu/packages/crates-windows.scm | 22 ++++++++++++++++++++++
 gnu/packages/shells.scm         |  1 +
 3 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c0e053dc94..92ef01039a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21674,28 +21674,6 @@ Rust.")
      "A library for running child processes.")
     (license license:expat)))
 
-(define-public rust-dunce-1
-  (package
-    (name "rust-dunce")
-    (version "1.0.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "dunce" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0fqcbwfclldbknmawi69l6zyncaiqzxkpbybcb2cc7jmlxnqrkjn"))))
-    (build-system cargo-build-system)
-    (home-page "https://gitlab.com/kornelski/dunce";)
-    (synopsis "Normalize Windows paths to the most compatible format")
-    (description
-     "This crate converts Windows UNC paths to the MS-DOS-compatible format
-whenever possible, but leaves UNC paths as-is when they can't be unambiguously
-expressed in a simpler way.  This allows legacy programs to access all paths
-they can possibly access, and doesn't break any paths for UNC-aware
-programs.")
-    (license (list license:cc0 license:expat-0 license:asl2.0))))
-
 (define-public rust-dyn-clone-1
   (package
     (name "rust-dyn-clone")
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 38e2d93a8a..0de0031aaf 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -185,6 +185,28 @@ Windows Credential Manager.")
      "This package provides a library which provides an interface for 
@code{ConPTY}.")
     (license license:expat)))
 
+(define-public rust-dunce-1
+  (package
+    (name "rust-dunce")
+    (version "1.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dunce" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fqcbwfclldbknmawi69l6zyncaiqzxkpbybcb2cc7jmlxnqrkjn"))))
+    (build-system cargo-build-system)
+    (home-page "https://gitlab.com/kornelski/dunce";)
+    (synopsis "Normalize Windows paths to the most compatible format")
+    (description
+     "This crate converts Windows UNC paths to the MS-DOS-compatible format
+whenever possible, but leaves UNC paths as-is when they can't be unambiguously
+expressed in a simpler way.  This allows legacy programs to access all paths
+they can possibly access, and doesn't break any paths for UNC-aware
+programs.")
+    (license (list license:cc0 license:expat-0 license:asl2.0))))
+
 (define-public rust-windows-0.48
   (package
     (name "rust-windows")
diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm
index 8d2aadc0aa..fa933540e2 100644
--- a/gnu/packages/shells.scm
+++ b/gnu/packages/shells.scm
@@ -47,6 +47,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-graphics)
   #:use-module (gnu packages crates-io)
+  #:use-module (gnu packages crates-windows)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages groff)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]