sharlatan pushed a commit to branch go-team
in repository guix.

commit b5b916330c7027cb72431e4daea664a340975513
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Thu Feb 20 16:06:56 2025 +0000

    gnu: go-github-com-apparentlymart-go-openvpn-mgmt: Move to golang-crypto.
    
    * gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt):
    Move from here ...
    * gnu/packages/golang-crypto.scm: ... to here.
    
    * gnu/packages/vpn.scm: Add (gnu packages golang-crypto).
    
    Change-Id: I66bdb3c2999c01a7d78ad58d42a427c5860896af
---
 gnu/packages/golang-crypto.scm | 31 +++++++++++++++++++++++++++++++
 gnu/packages/golang.scm        | 31 -------------------------------
 gnu/packages/vpn.scm           |  1 +
 3 files changed, 32 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/golang-crypto.scm b/gnu/packages/golang-crypto.scm
index 630dac2b71..fbdcedebbb 100644
--- a/gnu/packages/golang-crypto.scm
+++ b/gnu/packages/golang-crypto.scm
@@ -330,6 +330,37 @@ Go 1.20 @code{crypto/ecdh} standard package.")
 cryptographic standards that are not included in the Go standard library.")
       (license license:asl2.0))))
 
+;; XXX: Deprecated in upstream: This repository has been archived by the owner
+;; on Nov 10, 2020. It is now read-only.
+;; Consider to remove when nothing is depend on it.
+(define-public go-github-com-apparentlymart-go-openvpn-mgmt
+  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
+        (revision "0"))
+    (package
+      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/apparentlymart/go-openvpn-mgmt";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
+      (build-system go-build-system)
+      (arguments
+       (list
+        #:skip-build? #t
+        #:import-path "github.com/apparentlymart/go-openvpn-mgmt"))
+      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt";)
+      (synopsis "Go client library for OpenVPN's management protocol")
+      (description
+       "Go-OpenVPN-Mgmt implements a client for the OpenVPN management
+interface.  It can be used to monitor and control an OpenVPN process running
+with its management port enabled.")
+      (license license:expat))))
+
 (define-public go-github-com-bradenhilton-cityhash
   (package
     (name "go-github-com-bradenhilton-cityhash")
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 59a5da6ae9..786fb481d3 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1563,37 +1563,6 @@ incorporates ideas and concepts from Philipp Winter's 
ScrambleSuit protocol.")
    "go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird"
    lyrebird))
 
-;; XXX: Deprecated in upstream: This repository has been archived by the owner
-;; on Nov 10, 2020. It is now read-only.
-;; Consider to remove when nothing is depend on it.
-(define-public go-github-com-apparentlymart-go-openvpn-mgmt
-  (let ((commit "4d2ce95ae600ee04eeb020ee0997aabb82752210")
-        (revision "0"))
-    (package
-      (name "go-github-com-apparentlymart-go-openvpn-mgmt")
-      (version (git-version "0.0.0" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri
-          (git-reference
-           (url "https://github.com/apparentlymart/go-openvpn-mgmt";)
-           (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
-      (build-system go-build-system)
-      (arguments
-       (list
-        #:skip-build? #t
-        #:import-path "github.com/apparentlymart/go-openvpn-mgmt"))
-      (home-page "https://github.com/apparentlymart/go-openvpn-mgmt";)
-      (synopsis "Go client library for OpenVPN's management protocol")
-      (description "Go-OpenVPN-Mgmt implements a client for the OpenVPN
-management interface.  It can be used to monitor and control an OpenVPN process
-running with its management port enabled.")
-      (license license:expat))))
-
 (define-public go-github-com-aarzilli-golua
   (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d")
         (revision "0"))
diff --git a/gnu/packages/vpn.scm b/gnu/packages/vpn.scm
index 0b62e8c7cf..38959d44ad 100644
--- a/gnu/packages/vpn.scm
+++ b/gnu/packages/vpn.scm
@@ -74,6 +74,7 @@
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages golang)
   #:use-module (gnu packages golang-build)
+  #:use-module (gnu packages golang-crypto)
   #:use-module (gnu packages golang-xyz)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages libevent)

Reply via email to