summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 15:06:24 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:58 +0200
commit9edffd4296b06c39517048d24dccafe40e70dbfd (patch)
tree177187d8bafbaa967e9e3b26f92ccc9ef8b18f1b
parent1f26de02f0c2122ef6622422facaef0787961c69 (diff)
downloadguix-9edffd4296b06c39517048d24dccafe40e70dbfd.tar.gz
gnu: rust-embed-resource-1: Move to (gnu packages crates-windows).
* gnu/packages/crates-io.scm (rust-embed-resource-1): Move from here ...
* gnu/packages/crates-windows.scm: ... to here.

Change-Id: Icabdde1d670e07c6d8e1b8050fd9cf8cf6330faf
-rw-r--r--gnu/packages/crates-io.scm28
-rw-r--r--gnu/packages/crates-windows.scm29
2 files changed, 29 insertions, 28 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d796d0edf8..408c2789dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22487,34 +22487,6 @@ transport methods, unicode support, secure delivery with SMTP using encryption
 and authentication, easy email builders, and async support.")
     (license license:expat)))
 
-(define-public rust-embed-resource-1
-  (package
-    (name "rust-embed-resource")
-    (version "1.8.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "embed-resource" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-cc" ,rust-cc-1)
-        ("rust-rustc-version" ,rust-rustc-version-0.4)
-        ("rust-toml" ,rust-toml-0.5)
-        ("rust-vswhom" ,rust-vswhom-0.1)
-        ("rust-winreg" ,rust-winreg-0.10))))
-    (home-page "https://github.com/nabijaczleweli/rust-embed-resource")
-    (synopsis
-     "Cargo library to handle compilation and inclusion of Windows resources")
-    (description
-     "This package provides a Cargo library to handle compilation and
-inclusion of Windows resources in the most resilient fashion imaginable.")
-    (license license:expat)))
-
 (define-public rust-embedded-hal-0.2
   (package
     (name "rust-embedded-hal")
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index 0de0031aaf..33b7cbecc5 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1,5 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
 ;;; Copyright © 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
 ;;; Copyright © 2022 ( <paren@disroot.org>
 ;;; Copyright © 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
@@ -207,6 +209,33 @@ 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-embed-resource-1
+  (package
+    (name "rust-embed-resource")
+    (version "1.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "embed-resource" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0piayd947h4dswbpwqs02zq42y4kfzxcl52wmr7pbr07dj3vnap6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cc" ,rust-cc-1)
+        ("rust-rustc-version" ,rust-rustc-version-0.4)
+        ("rust-toml" ,rust-toml-0.5)
+        ("rust-vswhom" ,rust-vswhom-0.1)
+        ("rust-winreg" ,rust-winreg-0.10))))
+    (home-page "https://github.com/nabijaczleweli/rust-embed-resource")
+    (synopsis
+     "Cargo library to handle compilation and inclusion of Windows resources")
+    (description
+     "This package provides a Cargo library to handle compilation and
+inclusion of Windows resources in the most resilient fashion imaginable.")
+    (license license:expat)))
+
 (define-public rust-windows-0.48
   (package
     (name "rust-windows")