mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: go-github-com-akosmarton-papipes: Move to radio.
* gnu/packages/golang.scm (go-github-com-akosmarton-papipes): Move from here ... * gnu/packages/radio.scm: ... to here. Change-Id: I762f1260d9c4d7ab5083529e405664dc5ef225f7
This commit is contained in:
parent
be41897f71
commit
e9f0093f71
2 changed files with 40 additions and 38 deletions
|
@ -1277,44 +1277,6 @@ be performed.")
|
||||||
their ASCII approximations.")
|
their ASCII approximations.")
|
||||||
(license license:asl2.0))))
|
(license license:asl2.0))))
|
||||||
|
|
||||||
(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))))
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; Avoid adding new packages to the end of this file. To reduce the chances
|
;;; 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
|
;;; of a merge conflict, place them above by existing packages with similar
|
||||||
|
|
|
@ -2464,6 +2464,46 @@ Compatible hardware/software:
|
||||||
or capture raw audio.")
|
or capture raw audio.")
|
||||||
(license license:expat))))
|
(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-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 dream
|
(define-public dream
|
||||||
(package
|
(package
|
||||||
(name "dream")
|
(name "dream")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue