[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
18/71: gnu: rust-libpulse: Move to (gnu packages crates-audio).
From: |
guix-commits |
Subject: |
18/71: gnu: rust-libpulse: Move to (gnu packages crates-audio). |
Date: |
Thu, 26 Dec 2024 15:51:03 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 3a618658a648cb192d9d0e0720975c63a155b2fb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 26 19:40:49 2024 +0200
gnu: rust-libpulse: Move to (gnu packages crates-audio).
* gnu/packages/crates-io.scm (rust-libpulse-binding-2,
rust-libpulse-simple-binding-2, rust-libpulse-simple-sys-1,
rust-libpulse-sys-1): Move from here ...
* gnu/packages/crates-audio.scm: ... to here.
Change-Id: Ic006d454543e04a0c0e746eeafac0255cfb3f1eb
---
gnu/packages/crates-audio.scm | 119 +++++++++++++++++++++++++++++++++++++++++-
gnu/packages/crates-io.scm | 116 ----------------------------------------
2 files changed, 118 insertions(+), 117 deletions(-)
diff --git a/gnu/packages/crates-audio.scm b/gnu/packages/crates-audio.scm
index 1d11b4d1bf..4432b0ead3 100644
--- a/gnu/packages/crates-audio.scm
+++ b/gnu/packages/crates-audio.scm
@@ -1,4 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
@@ -37,7 +38,8 @@
#:use-module (gnu packages crates-windows)
#:use-module (gnu packages linux)
#:use-module (gnu packages mp3)
- #:use-module (gnu packages pkg-config))
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pulseaudio))
;;;
;;; Please: Try to add new module packages in alphabetic order.
@@ -250,6 +252,121 @@ Supports Linux through either JACK or ALSA.")
source audio format.")
(license (list license:expat license:asl2.0))))
+(define-public rust-libpulse-binding-2
+ (package
+ (name "rust-libpulse-binding")
+ (version "2.28.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-binding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zza12f22wf1qs6h71lq1i73aj3kmv3036hqc7qci063vyi5fdgd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libpulse-sys" ,rust-libpulse-sys-1)
+ ("rust-num-derive" ,rust-num-derive-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis "Binding for the PulseAudio libpulse library")
+ (description
+ "This package provides a Rust language binding for the PulseAudio libpulse
+library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-libpulse-simple-binding-2
+ (package
+ (name "rust-libpulse-simple-binding")
+ (version "2.28.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-simple-binding" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2)
+ ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1)
+ ("rust-libpulse-sys" ,rust-libpulse-sys-1))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'set-HOME
+ (lambda _ (setenv "HOME" "/tmp"))))))
+ (native-inputs (list pkg-config))
+ (inputs (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis "Rust language bindings for PulseAudio's libpulse-simple
library")
+ (description
+ "A Rust language binding for the PulseAudio libpulse-simple library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-libpulse-simple-sys-1
+ (package
+ (name "rust-libpulse-simple-sys")
+ (version "1.21.1")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-simple-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
"0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis "FFI indings for PulseAudio's libpulse-simple system library")
+ (description
+ "FFI bindings for the PulseAudio libpulse-simple system library.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-libpulse-sys-1
+ (package
+ (name "rust-libpulse-sys")
+ (version "1.21.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libpulse-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16vs0qk6xadckb5qxlrhg0f4jn2zakfd7xih1lk1fb7lzc8f26dw"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-libc" ,rust-libc-0.2)
+ ("rust-num-derive" ,rust-num-derive-0.3)
+ ("rust-num-traits" ,rust-num-traits-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (native-inputs
+ (list pkg-config))
+ (inputs
+ (list pulseaudio))
+ (home-page "https://github.com/jnqnfe/pulse-binding-rust")
+ (synopsis "FFI bindings for the PulseAudio")
+ (description
+ "This package provides FFI bindings for the PulseAudio libpulse system
+library.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-librespot-audio-0.4
(package
(name "rust-librespot-audio")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 13c008efd0..7140e169f2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -116,7 +116,6 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages protobuf)
- #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
#:use-module (gnu packages rust)
#:use-module (gnu packages rust-apps)
@@ -42080,121 +42079,6 @@ allocator.")
processes for both MacOS and Linux.")
(license license:expat)))
-(define-public rust-libpulse-binding-2
- (package
- (name "rust-libpulse-binding")
- (version "2.28.1")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "libpulse-binding" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1zza12f22wf1qs6h71lq1i73aj3kmv3036hqc7qci063vyi5fdgd"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-libpulse-sys" ,rust-libpulse-sys-1)
- ("rust-num-derive" ,rust-num-derive-0.3)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-winapi" ,rust-winapi-0.3))
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list pulseaudio))
- (home-page "https://github.com/jnqnfe/pulse-binding-rust")
- (synopsis "Binding for the PulseAudio libpulse library")
- (description
- "This package provides a Rust language binding for the PulseAudio libpulse
-library.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-libpulse-simple-binding-2
- (package
- (name "rust-libpulse-simple-binding")
- (version "2.28.1")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "libpulse-simple-binding" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "139hiksmxrmj8zcdqvswgjnwl1rivh915vg6cl92asizydl6pz85"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libpulse-binding" ,rust-libpulse-binding-2)
- ("rust-libpulse-simple-sys" ,rust-libpulse-simple-sys-1)
- ("rust-libpulse-sys" ,rust-libpulse-sys-1))
- #:phases
- (modify-phases %standard-phases
- (add-before 'check 'set-HOME
- (lambda _ (setenv "HOME" "/tmp"))))))
- (native-inputs (list pkg-config))
- (inputs (list pulseaudio))
- (home-page "https://github.com/jnqnfe/pulse-binding-rust")
- (synopsis "Rust language bindings for PulseAudio's libpulse-simple
library")
- (description
- "A Rust language binding for the PulseAudio libpulse-simple library.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-libpulse-simple-sys-1
- (package
- (name "rust-libpulse-simple-sys")
- (version "1.21.1")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "libpulse-simple-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
"0lj13ibdwf69ghy1zlldxq5vsyxi1h13wqpvvh79z2wx36s16rpa"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-libpulse-sys" ,rust-libpulse-sys-1)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
- (native-inputs (list pkg-config))
- (inputs (list pulseaudio))
- (home-page "https://github.com/jnqnfe/pulse-binding-rust")
- (synopsis "FFI indings for PulseAudio's libpulse-simple system library")
- (description
- "FFI bindings for the PulseAudio libpulse-simple system library.")
- (license (list license:expat license:asl2.0))))
-
-(define-public rust-libpulse-sys-1
- (package
- (name "rust-libpulse-sys")
- (version "1.21.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "libpulse-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "16vs0qk6xadckb5qxlrhg0f4jn2zakfd7xih1lk1fb7lzc8f26dw"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-num-derive" ,rust-num-derive-0.3)
- ("rust-num-traits" ,rust-num-traits-0.2)
- ("rust-pkg-config" ,rust-pkg-config-0.3)
- ("rust-winapi" ,rust-winapi-0.3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list pulseaudio))
- (home-page "https://github.com/jnqnfe/pulse-binding-rust")
- (synopsis "FFI bindings for the PulseAudio")
- (description
- "This package provides FFI bindings for the PulseAudio libpulse system
-library.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-libradicl-0.4
(package
(name "rust-libradicl")
- 05/71: gnu: rust-jack: Move to (gnu packages crates-audio)., (continued)
- 05/71: gnu: rust-jack: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 06/71: gnu: rust-lewton-0.10: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 08/71: gnu: rust-portaudio: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 14/71: gnu: rust-cpal: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 17/71: gnu: rust-minimp3-0.5: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 09/71: gnu: rust-urid: Move to (gnu packages rust-audio)., guix-commits, 2024/12/26
- 21/71: gnu: rust-criterion: Move to (gnu packages crates-check)., guix-commits, 2024/12/26
- 10/71: gnu: rust-wmidi-3: Move to (gnu package crates-audio)., guix-commits, 2024/12/26
- 12/71: gnu: rust-rodio-0.15: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 16/71: gnu: rust-mock: Move to (gnu packages crates-check)., guix-commits, 2024/12/26
- 18/71: gnu: rust-libpulse: Move to (gnu packages crates-audio).,
guix-commits <=
- 19/71: gnu: rust-alsa: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 20/71: gnu: rust-oboe: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 24/71: gnu: rust-openssl-0.7: Use snippet., guix-commits, 2024/12/26
- 28/71: gnu: rust-serde-test-0.9: Use snippet., guix-commits, 2024/12/26
- 22/71: gnu: rust-sha1-0.2: Use snippet., guix-commits, 2024/12/26
- 31/71: gnu: rust-pipwire: Move to (gnu packages crates-audio)., guix-commits, 2024/12/26
- 32/71: gnu: rust-rusqlite: Move to (gnu packages crates-database)., guix-commits, 2024/12/26
- 35/71: gnu: rust-diesel: Move to (gnu packages crates-database)., guix-commits, 2024/12/26
- 37/71: gnu: rust-sqlparser: Move to (gnu packages crates-database)., guix-commits, 2024/12/26
- 23/71: gnu: rust-itertools-0.9: Use snippet., guix-commits, 2024/12/26