diff options
Diffstat (limited to 'gnu/packages/golang.scm')
| -rw-r--r-- | gnu/packages/golang.scm | 1264 |
1 files changed, 23 insertions, 1241 deletions
diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 791e2db9f9..999e3055f8 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -73,7 +73,6 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix packages) - #:use-module (guix gexp) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (gnu packages) @@ -81,29 +80,11 @@ #:use-module (gnu packages base) #:use-module ((gnu packages bootstrap) #:select (glibc-dynamic-linker)) #:use-module (gnu packages check) - #:use-module (gnu packages fonts) #:use-module (gnu packages gcc) #:use-module (gnu packages glib) - #:use-module (gnu packages gnupg) - #:use-module (gnu packages golang-build) - #:use-module (gnu packages golang-check) - #:use-module (gnu packages golang-compression) - #:use-module (gnu packages golang-crypto) - #:use-module (gnu packages golang-web) - #:use-module (gnu packages golang-xyz) - #:use-module (gnu packages lua) - #:use-module (gnu packages mail) - #:use-module (gnu packages mp3) - #:use-module (gnu packages password-utils) #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) - #:use-module (gnu packages pulseaudio) - #:use-module (gnu packages ruby) - #:use-module (gnu packages terminals) - #:use-module (gnu packages textutils) - #:use-module (gnu packages tls) - #:use-module (gnu packages web) #:use-module (ice-9 match) #:use-module (srfi srfi-1)) @@ -992,7 +973,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.21) (name "go") - (version "1.22.11") + (version "1.22.12") (source (origin (method git-fetch) @@ -1001,7 +982,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (commit (string-append "go" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1gdiyifsp65wlnfqfmnbv6n1rh23jbr13l79xwla3gavm67scx02")))) + (base32 "0f0fr92z3l3szmxf3wvh20w1sqayvd927gawdp5d44cc44pd6c0n")))) (arguments (substitute-keyword-arguments (package-arguments go-1.21) ((#:phases phases) @@ -1028,7 +1009,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (package (inherit go-1.22) (name "go") - (version "1.23.5") + (version "1.23.8") (source (origin (method git-fetch) @@ -1037,7 +1018,25 @@ in the style of communicating sequential processes (@dfn{CSP}).") (commit (string-append "go" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0iffjgsmh4ilc1r30zbidqvxz2dd8k0sml5rzzk1k4wkab0cjw0i")))))) + (base32 "13pvhs00bdhbmi25aaqxc1h3hxlrh7ysiclnywa4hzivbzl40dkh")))))) + +(define-public go-1.24 + (package + (inherit go-1.23) + (name "go") + (version "1.24.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/go") + (commit (string-append "go" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "199yajw3amvspl9k2a75v4jblwr965laqngxbnsi5l3ragp5c1ck")))) + (native-inputs + ;; Go 1.24 and later requires Go 1.22+ as the bootstrap toolchain. + (alist-replace "go" (list go-1.22) (package-native-inputs go-1.23))))) ;; ;; Default Golang version used in guix/build-system/go.scm to build packages. @@ -1086,1224 +1085,7 @@ in the style of communicating sequential processes (@dfn{CSP}).") (define-public go-std-1.21 (make-go-std go-1.21)) (define-public go-std-1.22 (make-go-std go-1.22)) (define-public go-std-1.23 (make-go-std go-1.23)) - -(define-public go-0xacab-org-leap-shapeshifter - (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") - (revision "12")) - (package - (name "go-0xacab-org-leap-shapeshifter") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://0xacab.org/leap/shapeshifter") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0m4fla9ppl53k9syms4dsad92wakr74cdvids3xxv3amdh4d1w4i")))) - (build-system go-build-system) - (arguments - `(#:import-path "0xacab.org/leap/shapeshifter")) - (propagated-inputs - (list go-github-com-operatorfoundation-obfs4 - go-github-com-operatorfoundation-shapeshifter-transports - go-golang-org-x-net)) - (home-page "https://0xacab.org/leap/shapeshifter") - (synopsis "Shapeshifter Dispatcher Library") - (description "Shapeshifter provides network protocol shapeshifting -technology. The purpose of this technology is to change the characteristics of -network traffic so that it is not identified and subsequently blocked by network -filtering devices.") - (license license:bsd-2)))) - -(define-public go-github-com-operatorfoundation-shapeshifter-transports - (package - (name "go-github-com-operatorfoundation-shapeshifter-transports") - (version "3.0.12") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/OperatorFoundation/shapeshifter-transports") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0f1hzhk3q2fgqdg14zlg3z0s0ib1y9xwj89qnjk95b37zbgqjgsb")))) - (build-system go-build-system) - (arguments - `(#:unpack-path "github.com/OperatorFoundation/shapeshifter-transports" - #: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/OperatorFoundation/shapeshifter-transports/transports/Dust/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3")))) - (replace 'check - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'check) - `(,@arguments #:import-path ,directory))) - (list - ;;; ERROR: invalid memory address or nil pointer dereference. - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3" - ;;; ERROR: failed with status 1. - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3" - ;;; ERROR: bind: permission denied. - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3")))) - ;;; ERROR: failed with status 1. - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2" - ;;"github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3")))) - (replace 'install - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'install) - `(,@arguments #:import-path ,directory))) - (list - "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Dust/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Optimizer/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/Replicant/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meeklite/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/meekserver/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs2/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/obfs4/v3" - "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v2" - "github.com/OperatorFoundation/shapeshifter-transports/transports/shadow/v3"))))))) - (native-inputs - (list go-github-com-stretchr-testify)) - (propagated-inputs - (list go-github-com-aead-chacha20 - go-github-com-blanu-dust - go-github-com-deckarep-golang-set - go-github-com-kataras-golog - go-github-com-mufti1-interconv - go-github-com-opentracing-opentracing-go - go-github-com-operatorfoundation-monolith-go-1.0.4 - go-github-com-operatorfoundation-obfs4 - go-github-com-operatorfoundation-shapeshifter-ipc - go-github-com-shadowsocks-go-shadowsocks2 - go-golang-org-x-crypto - go-golang-org-x-net - go-torproject-org-pluggable-transports-goptlib)) - (home-page "https://github.com/OperatorFoundation/shapeshifter-transports") - (synopsis "Go implementation of Pluggable Transports") - (description "Shapeshifter-Transports is a set of Pluggable Transports -implementing the Go API from the Pluggable Transports 2.0 specification. -Each transport implements a different method of shapeshifting network traffic. -The goal is for application traffic to be sent over the network in a shapeshifted -form that bypasses network filtering, allowing the application to work on -networks where it would otherwise be blocked or heavily throttled.") - (license license:expat))) - -(define-public go-github-com-mufti1-interconv - (let ((commit "d7c72925c6568d60d361757bb9f2d252dcca745c") - (revision "0")) - (package - (name "go-github-com-mufti1-interconv") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/mufti1/interconv") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "13f5pvr74afa28pbpmgvjzjx68vv5zmrwlvxp7hr5bl5625zlxmy")))) - (build-system go-build-system) - (arguments - `(#:unpack-path "github.com/mufti1/interconv" - #:import-path "github.com/mufti1/interconv/package")) - (home-page "https://github.com/mufti1/interconv") - (synopsis "Data type converter") - (description "InterConv converts interfaces into any data type.") - (license license:expat)))) - -(define-public go-github-com-operatorfoundation-monolith-go - (package - (name "go-github-com-operatorfoundation-monolith-go") - (version "1.0.10") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/OperatorFoundation/monolith-go") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0zzamnrakjvz9frxscyhrvyz2ikqq2klmynn218jk5dar6mc6xyf")))) - (build-system go-build-system) - (arguments - `(#:tests? #f ; ERROR: Generated bytes do not match correct answer. - #:unpack-path "github.com/OperatorFoundation/monolith-go" - #:import-path "github.com/OperatorFoundation/monolith-go/monolith")) - (propagated-inputs - (list go-github-com-deckarep-golang-set)) - (home-page "https://github.com/OperatorFoundation/monolith-go") - (synopsis "Byte sequences library") - (description "Monolith-Go is a Go library for working with byte sequences.") - (license license:expat))) - -;; To build bitmask 0.21.11, remove when it's updated. -(define-public go-github-com-operatorfoundation-monolith-go-1.0.4 - (package - (inherit go-github-com-operatorfoundation-monolith-go) - (name "go-github-com-operatorfoundation-monolith-go") - (version "1.0.4") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/OperatorFoundation/monolith-go") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "066bqlgw5h7a3kxswqlv734asb7nw2y6snsn09yqk0ixj23qw22s")))))) - -(define-public go-github-com-blanu-dust - (package - (name "go-github-com-blanu-dust") - (version "1.0.1") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/blanu/Dust") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1lya21w06ramq37af5hdiafbrv5k1csjm7k7m00v0bfxg3ni01bs")))) - (build-system go-build-system) - (arguments - `(#:unpack-path "github.com/blanu/Dust" - #: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/blanu/Dust/go/buf" - "github.com/blanu/Dust/go/dist" - "github.com/blanu/Dust/go/huffman" - "github.com/blanu/Dust/go/model1" - "github.com/blanu/Dust/go/prim1" - "github.com/blanu/Dust/go/proc" - "github.com/blanu/Dust/go/sillyHex" - "github.com/blanu/Dust/go/skein" - "github.com/blanu/Dust/go/v2/Dust2_proxy" - "github.com/blanu/Dust/go/v2/Dust2_tool" - "github.com/blanu/Dust/go/v2/crypting" - "github.com/blanu/Dust/go/v2/interface" - "github.com/blanu/Dust/go/v2/shaping")))) - (replace 'check - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'check) - `(,@arguments #:import-path ,directory))) - (list - "github.com/blanu/Dust/go/buf" - "github.com/blanu/Dust/go/dist" - ;; Repository is missing test files directory. - ;;"github.com/blanu/Dust/go/huffman" - "github.com/blanu/Dust/go/model1" - "github.com/blanu/Dust/go/prim1" - "github.com/blanu/Dust/go/proc" - "github.com/blanu/Dust/go/sillyHex" - "github.com/blanu/Dust/go/skein" - "github.com/blanu/Dust/go/v2/Dust2_proxy" - "github.com/blanu/Dust/go/v2/Dust2_tool" - "github.com/blanu/Dust/go/v2/crypting" - "github.com/blanu/Dust/go/v2/interface" - "github.com/blanu/Dust/go/v2/shaping")))) - (replace 'install - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'install) - `(,@arguments #:import-path ,directory))) - (list - "github.com/blanu/Dust/go/buf" - "github.com/blanu/Dust/go/dist" - "github.com/blanu/Dust/go/huffman" - "github.com/blanu/Dust/go/model1" - "github.com/blanu/Dust/go/prim1" - "github.com/blanu/Dust/go/proc" - "github.com/blanu/Dust/go/sillyHex" - "github.com/blanu/Dust/go/skein" - "github.com/blanu/Dust/go/v2/Dust2_proxy" - "github.com/blanu/Dust/go/v2/Dust2_tool" - "github.com/blanu/Dust/go/v2/crypting" - "github.com/blanu/Dust/go/v2/interface" - "github.com/blanu/Dust/go/v2/shaping"))))))) - (propagated-inputs - (list go-github-com-operatorfoundation-ed25519 - go-github-com-op-go-logging go-golang-org-x-crypto)) - (home-page "https://github.com/blanu/Dust") - (synopsis "Censorship-resistant internet transport protocol") - (description "Dust is an Internet protocol designed to resist a number of -attacks currently in active use to censor Internet communication. While -adherence to the theoretical maxims of cryptographic security is observed where -possible, the focus of Dust is on real solutions to real attacks.") - (license - (list - ;; Skein. - license:bsd-2 - ;; Others. - license:expat)))) - -(define-public go-github-com-operatorfoundation-shapeshifter-ipc - (package - (name "go-github-com-operatorfoundation-shapeshifter-ipc") - (version "2.0.0") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/OperatorFoundation/shapeshifter-ipc") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1q1fcnllg462nfca16s5mr0n2jh92x3hj946qnaqc682phjz04lg")))) - (build-system go-build-system) - (arguments - `(#:tests? #f ; ERROR: undefined: Args. - #:unpack-path "github.com/OperatorFoundation/shapeshifter-ipc" - #: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/OperatorFoundation/shapeshifter-ipc/v2" - "github.com/OperatorFoundation/shapeshifter-ipc/v3")))) - (replace 'check - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'check) - `(,@arguments #:import-path ,directory))) - (list - "github.com/OperatorFoundation/shapeshifter-ipc/v2" - "github.com/OperatorFoundation/shapeshifter-ipc/v3")))) - (replace 'install - (lambda arguments - (for-each - (lambda (directory) - (apply (assoc-ref %standard-phases 'install) - `(,@arguments #:import-path ,directory))) - (list - "github.com/OperatorFoundation/shapeshifter-ipc/v2" - "github.com/OperatorFoundation/shapeshifter-ipc/v3"))))))) - (home-page "https://github.com/OperatorFoundation/shapeshifter-ipc") - (synopsis "Go implementation of the Pluggable Transports IPC protocol") - (description "Shapeshifter-IPC is a library for Go implementing the IPC -protocol from the Pluggable Transports 2.0 specification.") - (license license:expat))) - -(define-public go-github-com-operatorfoundation-obfs4 - (package - (name "go-github-com-operatorfoundation-obfs4") - (version "1.0.0") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/OperatorFoundation/obfs4") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0s730xagdxs66wfh65hb5v9a5h01q5ncic3pyij0a043scagizgr")))) - (build-system go-build-system) - (arguments - (list - #:skip-build? #t - #:import-path "github.com/OperatorFoundation/obfs4" - #:test-subdirs #~(list "common/..." - "proxy_dialers/..." - "transports/obfs4/..."))) - (propagated-inputs - (list go-github-com-dchest-siphash - go-github-com-operatorfoundation-ed25519 - go-github-com-willscott-goturn - go-golang-org-x-crypto - go-golang-org-x-net - go-torproject-org-pluggable-transports-goptlib)) - (home-page "https://github.com/OperatorFoundation/obfs4") - (synopsis "Network obfourscator to scramble network traffic") - (description "Obfs4 is a look-like nothing obfuscation protocol that -incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol. -The notable differences between ScrambleSuit and obfs4 are: -@itemize -@item The handshake always does a full key exchange (no such thing as a Session -Ticket Handshake). -@item The handshake uses the Tor Project's ntor handshake with public keys -obfuscated via the Elligator 2 mapping. -@item The link layer encryption uses NaCl secret boxes (Poly1305/XSalsa20). -@end itemize") - (license license:bsd-2))) - -(define-public go-github-com-willscott-goturn - (package - (name "go-github-com-willscott-goturn") - (version "0.0.0-20170802220503-19f41278d0c9") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/willscott/goturn") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0zwvhfznr84ayzknn9flh65nvqjsixisgy9fkhz2jlahl1ldqcq7")))) - (build-system go-build-system) - (arguments - `(#:tests? #f ; tests are broken on a newer go, starting from 1.17. - #:import-path "github.com/willscott/goturn")) - (home-page "https://github.com/willscott/goturn") - (synopsis "Go TURN dialer") - (description "GoTURN is a library providing a Go interface compatible with -the golang proxy package which connects through a TURN relay. It provides -parsing and encoding support for STUN and TURN protocols.") - (license license:bsd-3))) - -(define-public go-github-com-flopp-go-findfont - (package - (name "go-github-com-flopp-go-findfont") - (version "0.1.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/flopp/go-findfont") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "05jvs5sw6yid0qr2ld7aw0n1mjp47jxhvbg9lsdig86668i2fj2q")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/flopp/go-findfont")) - (home-page "https://github.com/flopp/go-findfont") - (synopsis "Go font finder library") - (description - "This package provides a platform-agnostic Go library to locate -TrueType font files in your system's user and system font directories.") - (license license:expat))) - -(define-public go-github-com-signintech-gopdf - (package - (name "go-github-com-signintech-gopdf") - (version "0.22.1") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/signintech/gopdf") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1h6cslvid5v8fiymydj4irrzi8f91knsx8rgbzp2b8favclhwxxg")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/signintech/gopdf" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-examples - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/examples"))))))) - (propagated-inputs (list go-github-com-pkg-errors - go-github-com-phpdave11-gofpdi)) - (home-page "https://github.com/signintech/gopdf") - (synopsis "Generating PDF documents") - (description "gopdf is a Go library for generating PDF documents.") - (license license:expat))) - -(define-public go-github-com-wraparound-wrap - (package - (name "go-github-com-wraparound-wrap") - (version "0.3.1") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Wraparound/wrap") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0scf7v83p40r9k7k5v41rwiy9yyanfv3jm6jxs9bspxpywgjrk77")) - (patches (search-patches - "go-github-com-wraparound-wrap-free-fonts.patch")))) - (build-system go-build-system) - (arguments - (list - #:install-source? #f - #:import-path "github.com/Wraparound/wrap/cmd/wrap" - #:unpack-path "github.com/Wraparound/wrap" - #:phases - #~(modify-phases %standard-phases - (add-after 'install 'wrap-fonts - (lambda* (#:key inputs outputs #:allow-other-keys) - (for-each - (lambda (program) - (wrap-program program - `("XDG_DATA_DIRS" suffix - ,(map dirname - (search-path-as-list '("share/fonts") - (map cdr inputs)))))) - (find-files (string-append (assoc-ref outputs "out") - "/bin")))))))) - (native-inputs - (list go-github-com-spf13-cobra - go-github-com-signintech-gopdf - go-github-com-flopp-go-findfont)) - (inputs - (list font-liberation - font-gnu-freefont)) - (home-page "https://github.com/Wraparound/wrap") - (synopsis "Format Fountain screenplays") - (description - "Wrap is a command line tool that is able to convert Fountain files into -a correctly formatted screen- or stageplay as an HTML or a PDF. It supports -standard Fountain, but also has some custom syntax extensions such as -translated keywords and acts.") - (license license:gpl3))) - -(define-public lyrebird - (package - (name "lyrebird") - (version "0.5.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird") - (commit (string-append "lyrebird-" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1qk7npkj0a3a28rp38whl1jwjr0z0hdcsq5bgm8bl1fk9g6cqbnp")))) - (build-system go-build-system) - (arguments - (list - #:install-source? #f - #:unpack-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird" - #:import-path "gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird/cmd/lyrebird")) - (propagated-inputs - (list go-filippo-io-edwards25519 - go-github-com-dchest-siphash - go-github-com-refraction-networking-utls - go-gitlab-com-yawning-edwards25519-extra - go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-goptlib - go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-snowflake-v2 - go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-webtunnel - go-golang-org-x-crypto - go-golang-org-x-net)) - (home-page "https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/lyrebird") - (synopsis "Look-like nothing obfuscation protocol") - (description "This is a look-like nothing obfuscation protocol that -incorporates ideas and concepts from Philipp Winter's ScrambleSuit protocol.") - (license (list license:bsd-2 license:bsd-3)))) - -(define-public go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird - ;; This is a final command, no need for a full name of the go.mod module path - ;; style. The same is suggested in project's README and Makefile. - (deprecated-package - "go-gitlab-torproject-org-tpo-anti-censorship-pluggable-transports-lyrebird" - lyrebird)) - -(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 - `(#: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"))))))) - (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-rakyll-statik - (package - (name "go-github-com-rakyll-statik") - (version "0.1.7") - (source - (origin - (method git-fetch) - (uri - (git-reference - (url "https://github.com/rakyll/statik") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "0y0kbzma55vmyqhyrw9ssgvxn6nw7d0zg72a7nz8vp1zly4hs6va")) - (snippet - #~(begin - (use-modules (guix build utils)) - ;; Fix compatibility with go-1.18+ - (substitute* "statik.go" - (("fmt\\.Println\\(helpText\\)") - "fmt.Print(helpText + \"\\n\")")))))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/rakyll/statik" - #:test-flags - #~(list "-skip" - (string-join - (list - "TestOpen/Files_should_retain_their_original_file*" - "TestOpen/Images_should_successfully_unpack" - "TestOpen/'index.html'_files_should_be_returned*" - "TestOpen/listed_all_sub_directories_in_deep_directory" - "TestOpen/Paths_containing_dots_should_be_properly_sanitized") - "|")))) - (home-page "https://github.com/rakyll/statik/") - (synopsis "Embed files into a Go executable") - (description "Statik allows you to embed a directory of static files into -your Go binary to be later served from an http.FileSystem.") - (license license:asl2.0))) - -(define-public go-gopkg.in-tomb.v2 - (let ((commit "d5d1b5820637886def9eef33e03a27a9f166942c") - (revision "0")) - (package - (name "go-gopkg.in-tomb.v2") - (version (string-append "0.0.0-" revision "." (string-take commit 7))) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/go-tomb/tomb") - (commit commit))) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1sv15sri99szkdz1bkh0ir46w9n8prrwx5hfai13nrhkawfyfy10")))) - (build-system go-build-system) - (arguments - '(#:import-path "gopkg.in/tomb.v2" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-source - (lambda _ - ;; Add a missing % to fix the compilation of this test - (substitute* "src/gopkg.in/tomb.v2/tomb_test.go" - (("t.Fatalf\\(`Killf\\(\"BO%s") - "t.Fatalf(`Killf(\"BO%%s")) - #t))))) - (synopsis "@code{tomb} handles clean goroutine tracking and termination") - (description - "The @code{tomb} package handles clean goroutine tracking and -termination.") - (home-page "https://gopkg.in/tomb.v2") - (license license:bsd-3)))) - -(define-public go-gopkg-in-tomb-v1 - (package - (inherit go-gopkg.in-tomb.v2) - (name "go-gopkg-in-tomb-v1") - (version "1.0.0-20141024135613-dd632973f1e7") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://gopkg.in/tomb.v1") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv")))) - (arguments - (list #:import-path "gopkg.in/tomb.v1" - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'fix-test - (lambda* (#:key import-path #:allow-other-keys) - (substitute* (string-append "src/" import-path - "/tomb_test.go") - (("t.Fatalf\\(`Killf\\(\"BO%s") - "t.Fatalf(`Killf(\"BO%%s"))))))) - (home-page "https://gopkg.in/tomb.v1"))) - -(define-public go-github-com-google-cadvisor - (let ((commit "2ed7198f77395ee9a172878a0a7ab92ab59a2cfd") - (revision "0")) - (package - (name "go-github-com-google-cadvisor") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/google/cadvisor") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1w8p345z5j0gk3yiq5ah0znd5lfh348p2s624k5r10drz04p3f55")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/google/cadvisor" - #:test-subdirs '("."))) - (home-page "https://github.com/google/cadvisor") - (synopsis "Analyze resource usage of running containers") - (description "The package provides @code{cadvisor}, which provides -information about the resource usage and performance characteristics of running -containers.") - (license license:asl2.0)))) - -(define-public go-github-com-aarzilli-golua - (let ((commit "03fc4642d792b1f2bc5e7343b403cf490f8c501d") - (revision "0")) - (package - (name "go-github-com-aarzilli-golua") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://github.com/aarzilli/golua") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1d9hr29i36cza98afj3g6rs3l7xbkprwzz0blcxsr9dd7nak20di")))) - (build-system go-build-system) - ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so - ;; when this package required as input for another one, it will have to - ;; be built again. Thus its CGO requirements must be made available in - ;; the environment, that is, they must be propagated. - (propagated-inputs - (list lua)) - (arguments - `(#:unpack-path "github.com/aarzilli/golua" - #:import-path "github.com/aarzilli/golua/lua" - #:phases - (modify-phases %standard-phases - ;; While it's possible to fix the CGO_LDFLAGS with the "-tags" - ;; command line argument, go-1.10+ does not re-use the produced pkg - ;; for dependencies, which means we would need to propagate the - ;; same "-tags" argument to all golua referrers. A substitution is - ;; more convenient here. We also need to propagate the lua - ;; dependency to make it available to referrers. - (add-after 'unpack 'fix-lua-ldflags - (lambda _ - (substitute* "src/github.com/aarzilli/golua/lua/lua.go" - (("#cgo linux,!llua,!luaa LDFLAGS: -llua5.3") - "#cgo linux,!llua,!luaa LDFLAGS: -llua"))))))) - (home-page "https://github.com/aarzilli/golua") - (synopsis "Go Bindings for the Lua C API") - (description "This package provides @code{lua}, a Go module that can -run a Lua virtual machine.") - (license license:expat)))) - -(define-public go-gitlab-com-ambrevar-golua-unicode - (let ((commit "97ce517e7a1fe2407a90c317a9c74b173d396144") - (revision "0")) - (package - (name "go-gitlab-com-ambrevar-golua-unicode") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://gitlab.com/ambrevar/golua") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1izcp7p8nagjwqd13shb0020w7xhppib1a3glw2d1468bflhksnm")))) - (build-system go-build-system) - (native-inputs - (list lua go-github-com-aarzilli-golua)) - (arguments - `(#:unpack-path "gitlab.com/ambrevar/golua" - #:import-path "gitlab.com/ambrevar/golua/unicode" - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key import-path #:allow-other-keys) - (setenv "USER" "homeless-dude") - (invoke "go" "test" import-path)))))) - (home-page "https://gitlab.com/ambrevar/golua") - (synopsis "Add Unicode support to Golua") - (description "This extension to Arzilli's Golua adds Unicode support to -all functions from the Lua string library. Lua patterns are replaced by Go -regexps. This breaks compatibility with Lua, but Unicode support breaks it -anyways and Go regexps are more powerful.") - (license license:expat)))) - -(define-public go-github-com-yookoala-realpath - (let ((commit "d19ef9c409d9817c1e685775e53d361b03eabbc8") - (revision "0")) - (package - (name "go-github-com-yookoala-realpath") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://github.com/yookoala/realpath") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0qvz1dcdldf53rq69fli76z5k1vr7prx9ds1d5rpzgs68kwn40nw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/yookoala/realpath")) - (home-page "https://github.com/yookoala/realpath") - (synopsis "@code{realpath} for Golang") - (description "This package provides @code{realpath}, a Go module that -when provided with a valid relative path / alias path, it will return you with -a string of its real absolute path in the system.") - (license license:expat)))) - -(define-public go-gitlab-com-ambrevar-damerau - (let ((commit "883829e1f25fad54015772ea663e69017cf22352") - (revision "0")) - (package - (name "go-gitlab-com-ambrevar-damerau") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://gitlab.com/ambrevar/damerau") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv")))) - (build-system go-build-system) - (arguments - `(#:import-path "gitlab.com/ambrevar/damerau")) - (home-page "https://gitlab.com/ambrevar/damerau") - (synopsis "Damerau-Levenshtein distance for Golang") - (description "This is a spelling corrector implementing the -Damerau-Levenshtein distance. Takes a string value input from the user. -Looks for an identical word on a list of words, if none is found, look for a -similar word.") - (license license:expat)))) - -(define-public go-github-com-stevedonovan-luar - (let ((commit "22d247e5366095f491cd83edf779ee99a78f5ead") - (revision "0")) - (package - (name "go-github-com-stevedonovan-luar") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://github.com/stevedonovan/luar") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1acjgw9cz1l0l9mzkyk7irz6cfk31wnxgbwa805fvm1rqcjzin2c")))) - (build-system go-build-system) - (native-inputs - (list go-github-com-aarzilli-golua)) - (arguments - `(#:tests? #f ; Upstream tests are broken. - #:import-path "github.com/stevedonovan/luar")) - (home-page "https://github.com/stevedonovan/luar") - (synopsis "Lua reflection bindings for Go") - (description "Luar is designed to make using Lua from Go more -convenient. Go structs, slices and maps can be automatically converted to Lua -tables and vice-versa. The resulting conversion can either be a copy or a -proxy. In the latter case, any change made to the result will reflect on the -source. - -Any Go function can be made available to Lua scripts, without having to write -C-style wrappers. - -Luar support cyclic structures (lists, etc.). - -User-defined types can be made available to Lua as well: their exported -methods can be called and usual operations such as indexing or arithmetic can -be performed.") - (license license:expat)))) - -(define-public go-github-com-wtolson-go-taglib - (let ((commit "6e68349ff94ecea412de7e748cb5eaa26f472777") - (revision "0")) - (package - (name "go-github-com-wtolson-go-taglib") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url - "https://github.com/wtolson/go-taglib") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1cpjqnrviwflz150g78iir5ndrp3hh7a93zbp4dwbg6sb2q141p2")))) - (build-system go-build-system) - ;; From go-1.10 onward, "pkg" compiled libraries are not re-used, so - ;; when this package required as input for another one, it will have to - ;; be built again. Thus its CGO requirements must be made available in - ;; the environment, that is, they must be propagated. - (propagated-inputs - (list pkg-config taglib)) - (arguments - `(#:import-path "github.com/wtolson/go-taglib" - ;; Tests don't pass "vet" on Go since 1.11. See - ;; https://github.com/wtolson/go-taglib/issues/12. - #:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key import-path #:allow-other-keys) - (invoke "go" "test" - "-vet=off" - import-path)))))) - (home-page "https://github.com/wtolson/go-taglib") - (synopsis "Go wrapper for taglib") - (description "Go wrapper for taglib") - (license license:unlicense)))) - -(define-public go-golang-org-rainycape-unidecode - (let ((commit "cb7f23ec59bec0d61b19c56cd88cee3d0cc1870c") - (revision "1")) - (package - (name "go-golang-org-rainycape-unidecode") - (version (git-version "0.0.0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/rainycape/unidecode") - (commit commit))) - (file-name (string-append "go-golang-org-rainycape-unidecode-" - version "-checkout")) - (sha256 - (base32 - "1wvzdijd640blwkgmw6h09frkfa04kcpdq87n2zh2ymj1dzla5v5")))) - (build-system go-build-system) - (arguments - `(#:import-path "golang.org/rainycape/unidecode")) - (home-page "https://github.com/rainycape/unidecode") - (synopsis "Unicode transliterator in Golang") - (description "Unicode transliterator in Golang - Replaces non-ASCII -characters with their ASCII approximations.") - (license license:asl2.0)))) - -(define-public go-github-com-fogleman-gg - (package - (name "go-github-com-fogleman-gg") - (version "1.3.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/fogleman/gg") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1nkldjghbqnzj2djfaxhiv35kk341xhcrj9m2dwq65v684iqkk8n")))) - (build-system go-build-system) - (arguments - `(#:tests? #f ; Issue with test flags. - #:import-path "github.com/fogleman/gg")) - (propagated-inputs - (list go-github-com-golang-freetype)) - (home-page "https://github.com/fogleman/gg") - (synopsis "2D rendering in Go") - (description "@code{gg} is a library for rendering 2D graphics in pure Go.") - (license license:expat))) - -(define-public go-github-com-twpayne-go-vfsafero - (package - (name "go-github-com-twpayne-go-vfsafero") - (version "1.0.0") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/twpayne/go-vfsafero") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "18jwxhlrjd06z8xzg9ij0irl4f79jfy5jpwiz6xqlhzb1fja19pw")))) - (build-system go-build-system) - (arguments - `(#:import-path "github.com/twpayne/go-vfsafero")) - (native-inputs - (list go-github-com-twpayne-go-vfs-1.0.1 go-github-com-spf13-afero-1.1.2)) - (home-page "https://github.com/twpayne/go-vfsafero/") - (synopsis "Compatibility later between @code{go-vfs} and @code{afero}") - (description - "Package @code{vfsafero} provides a compatibility later between -@code{go-github-com-twpayne-go-vfs} and @code{go-github-com-spf13-afero}.") - (license license:expat))) - -(define-public go-github-com-delthas-go-libnp - (let ((commit "0e45ece1f878f202fee2c74801e287804668f677")) - (package - (name "go-github-com-delthas-go-libnp") - (version (git-version "0.0.0" "0" commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/delthas/go-libnp") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1hylpvwz3kb8wr00knba6mggjacak2vmqafwysansj0ns038lp8w")))) - (build-system go-build-system) - (arguments `(#:import-path "github.com/delthas/go-libnp")) - (propagated-inputs (list go-github-com-godbus-dbus-v5)) - (home-page "https://github.com/delthas/go-libnp") - (synopsis "Tiny library providing information about now-playing media") - (description "@code{go-libnp} is a tiny cross-platform library for -extracting information about the music/image/video that is Now Playing on the -system.") - (license license:expat)))) - -(define-public go-github-com-zalando-go-keyring - (package - (name "go-github-com-zalando-go-keyring") - (version "0.2.5") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/zalando/go-keyring") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1p6qlsbj9rmqiwz9ly4c7jmifcx8m45xjhsbdwdvw2jzw5jc2ch1")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/zalando/go-keyring" - #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'disable-failing-tests - (lambda* (#:key tests? unpack-path #:allow-other-keys) - (with-directory-excursion (string-append "src/" unpack-path) - (substitute* (find-files "." "\\_test.go$") - ;; Disable tests which require a system DBus instance. - (("TestDelete") "OffTestDelete") - (("TestGet") "OffTestGet") - (("TestSet") "OffTestSet"))))) - (replace 'check - (lambda* (#:key tests? import-path #:allow-other-keys) - (when tests? - (with-directory-excursion (string-append "src/" import-path) - (invoke "dbus-run-session" "--" - "go" "test" "-v" "./...")))))))) - (native-inputs - (list dbus)) - (propagated-inputs - (list go-github-com-godbus-dbus-v5)) - (home-page "https://github.com/zalando/go-keyring/") - (synopsis "Library for working with system keyring") - (description "@code{go-keyring} is a library for setting, getting and -deleting secrets from the system keyring.") - (license license:expat))) - -(define-public go-github-com-akosmarton-papipes - (let ((commit "3c63b4919c769c9c2b2d07e69a98abb0eb47fe64") - (revision "0")) - (package - (name "go-github-com-akosmarton-papipes") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/akosmarton/papipes") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "16p77p3d1v26qd3knxn087jqlad2qm23q8m796cdr66hrdc0gahq")))) - (build-system go-build-system) - (inputs - (list pulseaudio)) - (arguments - `(#:import-path "github.com/akosmarton/papipes" - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'fix-paths - (lambda* (#:key inputs #:allow-other-keys) - (substitute* '("src/github.com/akosmarton/papipes/common.go" - "src/github.com/akosmarton/papipes/sink.go" - "src/github.com/akosmarton/papipes/source.go") - (("exec.Command\\(\"pactl\"") - (string-append "exec.Command(\"" - (assoc-ref inputs "pulseaudio") - "/bin/pactl\"")))))))) - (home-page "https://github.com/akosmarton/papipes") - (synopsis "Pulseaudio client library for Go") - (description - "This is a Pulseaudio client library in Golang for creating virtual -sinks and sources.") - (license license:expat)))) - -(define-public go-github-com-mesilliac-pulse-simple - (let ((commit "75ac54e19fdff88f4fbd82f45125134b602230b0") - (revision "0")) - (package - (name "go-github-com-mesilliac-pulse-simple") - (version (git-version "0.0.0" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/mesilliac/pulse-simple") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1awwczsa9yy99p035ckajqfs8m6mab0lz82mzlj1c5cj9lnmwplj")))) - (build-system go-build-system) - (propagated-inputs - (list pkg-config pulseaudio)) - (arguments - (list - #:import-path "github.com/mesilliac/pulse-simple" - #:phases #~(modify-phases %standard-phases - (add-after 'unpack 'remove-examples - (lambda* (#:key import-path #:allow-other-keys) - (delete-file-recursively - (string-append "src/" import-path "/examples"))))))) - (home-page "https://github.com/mesilliac/pulse-simple") - (synopsis "Cgo bindings to PulseAudio's Simple API") - (description - "This package provides Cgo bindings to PulseAudio's Simple API, to play -or capture raw audio.") - (license license:expat)))) - -(define-public go-github-com-gsterjov-go-libsecret - (package - (name "go-github-com-gsterjov-go-libsecret") - (version "0.0.0-20161001094733-a6f4afe4910c") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/gsterjov/go-libsecret") - (commit (go-version->git-ref version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "09zaiadnll83vs22ib89agg7anj0blw5fywvmckxllsgif6ak6v7")))) - (build-system go-build-system) - (arguments - (list - #:import-path "github.com/gsterjov/go-libsecret")) - (propagated-inputs - (list go-github-com-godbus-dbus)) - (home-page "https://github.com/gsterjov/go-libsecret") - (synopsis "Manage secrets via the @code{Secret Service} DBus API") - (description - "This native Go library manages secrets via the freedesktop.org -@code{Secret Service} DBus interface.") - (license license:expat))) +(define-public go-std-1.24 (make-go-std go-1.24)) ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances |
