summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-02-22 14:46:19 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-26 16:50:18 +0100
commitbe41897f7149f86d6baa6f2098e8c67803bfa7db (patch)
tree2dee68263e66491f8c2a148d6c5496d5f3626b0d
parente850c2f15a96666c733ef286e14d1785bedab78d (diff)
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
-rw-r--r--gnu/packages/golang.scm33
-rw-r--r--gnu/packages/radio.scm35
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 a358c9bbf3..9f800c4eda 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -2429,6 +2429,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")