aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSteve George <steve@futurile.net>2023-10-23 23:21:22 +0100
committerEfraim Flashner <efraim@flashner.co.il>2023-10-24 14:39:44 +0300
commit8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b (patch)
tree3d4154a53db573b7b71c050e52606e6aa2716bda /gnu
parent29aa50b7c3448470025deaf333a995025581ebad (diff)
downloadguix-8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b.tar.gz
guix-8b6ba317ce4725bb5bdb76ad4b2c279c8dbcda1b.zip
gnu: Add rust-jack-sys-0.4.
* gnu/packages/crates-io.scm (rust-jack-sys-0.4): New variable. (rust-jack-sys-0.2): Inherit from rust-jack-sys-0.4. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Change-Id: I167125355eda25173f0687a872e364cee9c470aa
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 28 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e7b84b7f4d..042a3aaf36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35239,8 +35239,35 @@ format.")
and MIDI audio server.")
(license license:expat)))
+(define-public rust-jack-sys-0.4
+ (package
+ (name "rust-jack-sys")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jack-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17vaq4i8q5nx39rjqx9sixqn1xraf1vxs3bmrf618v8nzxchbmz9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; cannot find value `library` in this scope
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config))
+ (inputs (list jack-2))
+ (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
+ (synopsis "Low-level binding to the JACK audio API")
+ (description "Low-level binding to the JACK audio API.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-jack-sys-0.2
(package
+ (inherit rust-jack-sys-0.4)
(name "rust-jack-sys")
(version "0.2.3")
(source (origin
@@ -35255,12 +35282,7 @@ and MIDI audio server.")
(list #:cargo-inputs `(("rust-lazy-static" ,rust-lazy-static-1)
("rust-libc" ,rust-libc-0.2)
("rust-libloading" ,rust-libloading-0.6)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
- (inputs (list jack-2))
- (home-page "https://github.com/RustAudio/rust-jack/tree/main/jack-sys")
- (synopsis "Low-level bindings to the JACK audio API")
- (description "Low-level bindings to the JACK audio API.")
- (license (list license:expat license:asl2.0))))
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))))
(define-public rust-javascriptcore-rs-sys-0.2
(package