summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-26 18:57:01 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:19:27 +0200
commit1ebc70b4538a0c0783da8b7ac05158c49ba02407 (patch)
tree94038977ab4b1dfe7ac05455124e4d0dc4f93965 /gnu/packages
parent1c3f36c4d21d2b46b3aee8767ad579a671467ad0 (diff)
gnu: rust-portaudio: Move to (gnu packages crates-audio).
* gnu/packages/crates-io.scm (rust-portaudio-rs-0.3, rust-portaudio-sys-0.1): Move from here ... * gnu/packages/crates-audio.scm: ... to here. Change-Id: Ia67dc659d671c4c8b07466cba18e2e28ebe1cf69
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-audio.scm48
-rw-r--r--gnu/packages/crates-io.scm47
2 files changed, 48 insertions, 47 deletions
diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm
index c713b7f2a6..40a1031c74 100644
--- a/gnu/packages/crates-audio.scm
+++ b/gnu/packages/crates-audio.scm
@@ -25,6 +25,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages audio)
#:use-module (gnu packages crates-io)
+ #:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config))
;;;
@@ -450,6 +451,53 @@ to create LV2 plugins in Rust.")
spec in pure Rust.")
(license license:expat)))
+(define-public rust-portaudio-rs-0.3
+ (package
+ (name "rust-portaudio-rs")
+ (version "0.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "portaudio-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-portaudio-sys" ,rust-portaudio-sys-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list portaudio alsa-lib))
+ (home-page "https://github.com/RustAudio/rust-portaudio")
+ (synopsis "Rust bindings for PortAudio a cross-platfomr audio library")
+ (description "Rusting bindings for PortAudio an open source, cross-platform
+audio I/O library.")
+ (license license:expat)))
+
+(define-public rust-portaudio-sys-0.1
+ (package
+ (name "rust-portaudio-sys")
+ (version "0.1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "portaudio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list portaudio alsa-lib))
+ (home-page "https://github.com/RustAudio/rust-portaudio")
+ (synopsis "Bindings for PortAudio a cross-platform audio library")
+ (description "Bindings for PortAudio an open source, cross-platform audio
+I/O library.")
+ (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/crates-io.scm b/gnu/packages/crates-io.scm
index 37a3e523a5..a8f64ae4b6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60547,53 +60547,6 @@ overloading without macros in Rust.")
(arguments
`(#:cargo-inputs (("rust-portable-atomic" ,rust-portable-atomic-1))))))
-(define-public rust-portaudio-rs-0.3
- (package
- (name "rust-portaudio-rs")
- (version "0.3.2")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "portaudio-rs" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0qnmc7amk0fzbcs985ixv0k4955f0fmpkhrl9ps9pk3cz7pvbdnd"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-portaudio-sys" ,rust-portaudio-sys-0.1))))
- (native-inputs (list pkg-config))
- (inputs (list portaudio alsa-lib))
- (home-page "https://github.com/RustAudio/rust-portaudio")
- (synopsis "Rust bindings for PortAudio a cross-platfomr audio library")
- (description "Rusting bindings for PortAudio an open source, cross-platform
-audio I/O library.")
- (license license:expat)))
-
-(define-public rust-portaudio-sys-0.1
- (package
- (name "rust-portaudio-sys")
- (version "0.1.1")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "portaudio-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1xdpywirpr1kqkbak7hnny62gmsc93qgc3ij3j2zskrvjpxa952i"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
- (native-inputs (list pkg-config))
- (inputs (list portaudio alsa-lib))
- (home-page "https://github.com/RustAudio/rust-portaudio")
- (synopsis "Bindings for PortAudio a cross-platform audio library")
- (description "Bindings for PortAudio an open source, cross-platform audio
-I/O library.")
- (license license:expat)))
-
(define-public rust-postcard-1
(package
(name "rust-postcard")