diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-12-26 20:18:41 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-01-06 12:19:31 +0200 |
commit | fe23c6bb80ed675d28b869bb7f7b9248a57b8640 (patch) | |
tree | 70cc7f429acaf45772611f6c92759139d768d891 /gnu/packages/crates-audio.scm | |
parent | 98e8c65124ab474af4bde665afeebf8c84b46aec (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/packages/crates-audio.scm')
-rw-r--r-- | gnu/packages/crates-audio.scm | 59 |
1 files changed, 59 insertions, 0 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") |