summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 11:38:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:54 +0200
commitfaf51ba4a35ed7c5f4df21bec77ac1971feab9e9 (patch)
treecc676b9df9e474e206b11bde6cc3008e1d89d7bd
parente82db397e5a4d9be185c6fd103f920b486937cde (diff)
downloadguix-faf51ba4a35ed7c5f4df21bec77ac1971feab9e9.tar.gz
gnu: rust-git-version-macro-0.3: Move to (gnu packages crates-vcs).
* gnu/packages/crates-io.scm (rust-git-version-macro-0.3): Move from
here ...
* gnu/packages/crates-vcs.scm: ... to here.

Change-Id: I63b5c90365c891c1ab2fac21423fc1d04a9e0520
-rw-r--r--gnu/packages/crates-io.scm25
-rw-r--r--gnu/packages/crates-vcs.scm26
2 files changed, 26 insertions, 25 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 17b201b3f6..fc2817c70c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30314,31 +30314,6 @@ debugging format.")
 dirty state into your program.")
     (license license:bsd-2)))
 
-(define-public rust-git-version-macro-0.3
-  (package
-    (name "rust-git-version-macro")
-    (version "0.3.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "git-version-macro" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0mynlf8sfaa4xx7qff0qgnr339fbf1svgr569yip067fzm97ma9l"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (home-page "https://github.com/fusion-engineering/rust-git-version")
-    (synopsis "Internal macro crate for git-version")
-    (description
-     "This is an internal macro crate for git-version.")
-    (license license:bsd-2)))
-
 (define-public rust-git2-0.18
   (package
     (name "rust-git2")
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 7c1dad7277..e3845aa8c2 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -1,4 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 Nicolas Goaziou <mail@nicolasgoaziou.fr>
 ;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -78,3 +79,28 @@
     (description
      "This package provides an inner procedural macro for git-testament.")
     (license license:bsd-3)))
+
+(define-public rust-git-version-macro-0.3
+  (package
+    (name "rust-git-version-macro")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "git-version-macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0mynlf8sfaa4xx7qff0qgnr339fbf1svgr569yip067fzm97ma9l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/fusion-engineering/rust-git-version")
+    (synopsis "Internal macro crate for git-version")
+    (description
+     "This is an internal macro crate for git-version.")
+    (license license:bsd-2)))