guix-patches
[Top][All Lists]
Advanced

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

[bug#75068] [PATCH rust-team v2 27/93] gnu: rust-libmimalloc-sys-0.1: Or


From: Herman Rimm
Subject: [bug#75068] [PATCH rust-team v2 27/93] gnu: rust-libmimalloc-sys-0.1: Order alphabetically.
Date: Tue, 24 Dec 2024 21:10:18 +0100

* gnu/packages/crates-io.scm (rust-libmimalloc-sys-0.1): Order.

Change-Id: Ib634d92eea9e197c63bd7f161932b47877cba2ad
---
 gnu/packages/crates-io.scm | 78 +++++++++++++++++++-------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7b08ca7697..60faa6b300 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41716,45 +41716,6 @@ (define-public rust-libmath-0.2
     (description "This package provides some mathematical utilities.")
     (license license:expat)))
 
-(define-public rust-libmimalloc-sys-0.1
-  (package
-    (name "rust-libmimalloc-sys")
-    (version "0.1.35")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "libmimalloc-sys" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0r4nrd9xbmhmipw4bvh4xlbzbc7xf74frrsibqglysffgv1vay9r"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin (substitute* "Cargo.toml"
-                  (("\\[build-dependencies\\.cc\\]" all)
-                   (string-append "[build-dependencies.pkg-config]\n"
-                                  "version = \"0.3\"\n\n"
-                                  all)))
-                (delete-file "build.rs")
-                (with-output-to-file "build.rs"
-                  (lambda _
-                    (format #t "fn main() {~@
-                            println!(\"cargo:rustc-link-lib=mimalloc\");~@
-                            }~%")))))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-cc" ,rust-cc-1)
-        ("rust-cty" ,rust-cty-0.2)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-pkg-config" ,rust-pkg-config-0.3))))
-    (inputs (list mimalloc))
-    (home-page "https://github.com/purpleprotocol/mimalloc_rust";)
-    (synopsis "Sys crate wrapping the mimalloc allocator")
-    (description "This package provides a sys crate wrapping the mimalloc
-allocator.")
-    (license license:expat)))
-
 (define-public rust-libmdns-0.7
   (package
     (name "rust-libmdns")
@@ -41816,6 +41777,45 @@ (define-public rust-libmdns-0.6
            #:cargo-development-inputs
            `(("rust-env-logger" ,rust-env-logger-0.8))))))
 
+(define-public rust-libmimalloc-sys-0.1
+  (package
+    (name "rust-libmimalloc-sys")
+    (version "0.1.35")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "libmimalloc-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0r4nrd9xbmhmipw4bvh4xlbzbc7xf74frrsibqglysffgv1vay9r"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\\[build-dependencies\\.cc\\]" all)
+                   (string-append "[build-dependencies.pkg-config]\n"
+                                  "version = \"0.3\"\n\n"
+                                  all)))
+                (delete-file "build.rs")
+                (with-output-to-file "build.rs"
+                  (lambda _
+                    (format #t "fn main() {~@
+                            println!(\"cargo:rustc-link-lib=mimalloc\");~@
+                            }~%")))))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-cty" ,rust-cty-0.2)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-pkg-config" ,rust-pkg-config-0.3))))
+    (inputs (list mimalloc))
+    (home-page "https://github.com/purpleprotocol/mimalloc_rust";)
+    (synopsis "Sys crate wrapping the mimalloc allocator")
+    (description "This package provides a sys crate wrapping the mimalloc
+allocator.")
+    (license license:expat)))
+
 (define-public rust-libnghttp2-sys-0.1
   (package
     (name "rust-libnghttp2-sys")
-- 
2.45.2






reply via email to

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