summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-26 20:18:41 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:19:31 +0200
commitfe23c6bb80ed675d28b869bb7f7b9248a57b8640 (patch)
tree70cc7f429acaf45772611f6c92759139d768d891 /gnu
parent98e8c65124ab474af4bde665afeebf8c84b46aec (diff)
gnu: rust-pipwire: Move to (gnu packages crates-audio).
* gnu/packages/crates-io.scm (rust-pipewire-0.7, rust-pipewire-sys-0.7): Move from here ... * gnu/packages/crates-audio.scm: ... to here. Change-Id: I04f57ff73fc6fb9b50ea39929c4b221f7bccd465
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-audio.scm59
-rw-r--r--gnu/packages/crates-gtk.scm1
-rw-r--r--gnu/packages/crates-io.scm57
3 files changed, 60 insertions, 57 deletions
diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm
index f05665c5d6..80caab73f3 100644
--- a/gnu/packages/crates-audio.scm
+++ b/gnu/packages/crates-audio.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
+;;; Copyright © 2024 Sergio Pastor Pérez <sergio.pastorperez@outlook.es>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
;;;
;;; This file is part of GNU Guix.
@@ -38,6 +39,7 @@
#:use-module (gnu packages crates-web)
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages llvm)
#:use-module (gnu packages mp3)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages pulseaudio))
@@ -1123,6 +1125,63 @@ to create LV2 plugins in Rust.")
spec in pure Rust.")
(license license:expat)))
+(define-public rust-pipewire-0.7
+ (package
+ (name "rust-pipewire")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pipewire" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-bitflags" ,rust-bitflags-2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libspa" ,rust-libspa-0.7)
+ ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pipewire-sys" ,rust-pipewire-sys-0.7)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pipewire clang))
+ (home-page "https://pipewire.org")
+ (synopsis "Rust bindings for PipeWire")
+ (description "This package provides Rust bindings for @code{PipeWire}.")
+ (license license:expat)))
+
+(define-public rust-pipewire-sys-0.7
+ (package
+ (name "rust-pipewire-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pipewire-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
+ ("rust-libspa-sys" ,rust-libspa-sys-0.7)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs
+ (list pkg-config clang))
+ (inputs
+ (list pipewire))
+ (home-page "https://pipewire.org")
+ (synopsis "Rust FFI bindings for PipeWire")
+ (description
+ "This package provides Rust FFI bindings for @code{PipeWire}.")
+ (license license:expat)))
+
(define-public rust-portaudio-rs-0.3
(package
(name "rust-portaudio-rs")
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0de6c95e0d..f4948c9a4f 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -28,6 +28,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (gnu packages)
+ #:use-module (gnu packages crates-audio)
#:use-module (gnu packages crates-check)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-graphics)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2befc19894..a7b711d1c8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57762,63 +57762,6 @@ along with strong support for variations and the core header tables.")
#:cargo-development-inputs
(("rust-futures" ,rust-futures-0.3))))))
-(define-public rust-pipewire-0.7
- (package
- (name "rust-pipewire")
- (version "0.7.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "pipewire" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1sg9cbvhp0s07a337zwli0xm40f8wkvm06d72nsr1s35vp40kl52"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
- ("rust-bitflags" ,rust-bitflags-2)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-libspa" ,rust-libspa-0.7)
- ("rust-libspa-sys" ,rust-libspa-sys-0.7)
- ("rust-nix" ,rust-nix-0.26)
- ("rust-once-cell" ,rust-once-cell-1)
- ("rust-pipewire-sys" ,rust-pipewire-sys-0.7)
- ("rust-thiserror" ,rust-thiserror-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list pipewire clang))
- (home-page "https://pipewire.org")
- (synopsis "Rust bindings for PipeWire")
- (description "This package provides Rust bindings for @code{PipeWire}.")
- (license license:expat)))
-
-(define-public rust-pipewire-sys-0.7
- (package
- (name "rust-pipewire-sys")
- (version "0.7.2")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "pipewire-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0r4z0farzflycgfp6x7z65h57np4l1qnpj4r8z5lcwkkgd70h349"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.66)
- ("rust-libspa-sys" ,rust-libspa-sys-0.7)
- ("rust-system-deps" ,rust-system-deps-6))))
- (native-inputs
- (list pkg-config clang))
- (inputs
- (list pipewire))
- (home-page "https://pipewire.org")
- (synopsis "Rust FFI bindings for PipeWire")
- (description
- "This package provides Rust FFI bindings for @code{PipeWire}.")
- (license license:expat)))
-
(define-public rust-pkg-config-0.3
(package
(name "rust-pkg-config")