sharlatan pushed a commit to branch go-team in repository guix. commit 5b044d6e81b78d9d92a778f993ed73f640d005ad Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Sat Feb 22 14:46:19 2025 +0000
gnu: go-github-com-mesilliac-pulse-simple: Move to radio. * gnu/packages/golang.scm (go-github-com-mesilliac-pulse-simple): Move from here ... * gnu/packages/radio.scm: ... to here. Change-Id: Ifa5b0c458aa069fc2f312c6be3012cfd81478d73 --- gnu/packages/golang.scm | 33 --------------------------------- gnu/packages/radio.scm | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 33 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 3c299b98c5..0188f3adc2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1315,39 +1315,6 @@ their ASCII approximations.") 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)))) - ;;; ;;; Avoid adding new packages to the end of this file. To reduce the chances ;;; of a merge conflict, place them above by existing packages with similar diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 3724988ce4..94975e3568 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm @@ -2330,6 +2330,41 @@ Compatible hardware/software: @end itemize\n") (license license:expat))) +;; kapanhang is only one user of this package, keep it next to it to prevent +;; importing pulseaudio module into golang-xyz. +(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 dream (package (name "dream")