sharlatan pushed a commit to branch go-team
in repository guix.
commit a445b952c5bef3eda4ea086ab87723812b8a5283
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Feb 20 16:03:41 2025 +0000
gnu: go-github-com-apparentlymart-go-openvpn-mgmt: Simplify.
* gnu/packages/golang.scm (go-github-com-apparentlymart-go-openvpn-mgmt)
[arguments] <skip-build?>: No go files in project's root.
<phases>: Use default 'build, 'check and 'install.
Change-Id: I9e3061895ef4a0ccd0e27efdeb8801fcdad47d71
---
gnu/packages/golang.scm | 36 ++++++------------------------------
1 file changed, 6 insertions(+), 30 deletions(-)
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 74d8a3f8f3..59a5da6ae9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -1563,6 +1563,9 @@ 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"))
@@ -1581,36 +1584,9 @@ incorporates ideas and concepts from Philipp Winter's
ScrambleSuit protocol.")
(base32 "1dn431jnswg5ns1ah10wswnw6wiv48zq21zr5xp1178l4waswj7k"))))
(build-system go-build-system)
(arguments
- `(#:unpack-path "github.com/apparentlymart/go-openvpn-mgmt"
- #:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda arguments
- (for-each
- (lambda (directory)
- (apply (assoc-ref %standard-phases 'build)
- `(,@arguments #:import-path ,directory)))
- (list
- "github.com/apparentlymart/go-openvpn-mgmt/demux"
- "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
- (replace 'check
- (lambda arguments
- (for-each
- (lambda (directory)
- (apply (assoc-ref %standard-phases 'check)
- `(,@arguments #:import-path ,directory)))
- (list
- "github.com/apparentlymart/go-openvpn-mgmt/demux"
- "github.com/apparentlymart/go-openvpn-mgmt/openvpn"))))
- (replace 'install
- (lambda arguments
- (for-each
- (lambda (directory)
- (apply (assoc-ref %standard-phases 'install)
- `(,@arguments #:import-path ,directory)))
- (list
- "github.com/apparentlymart/go-openvpn-mgmt/demux"
- "github.com/apparentlymart/go-openvpn-mgmt/openvpn")))))))
+ (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