diff mbox series

[bug#74116,16/16] gnu: Add rust-bankstown-lv2-1.

Message ID 647b79ed84bb8695823ddfadfab76e23aa846a30.1730314268.git.roman@burningswell.com
State New
Headers show
Series Add rust-bankstown-lv2 | expand

Commit Message

Roman Scherer Oct. 30, 2024, 6:56 p.m. UTC
* gnu/packages/crates-io.scm (rust-bankstown-lv2-1): New variable.

Change-Id: Ie8a19c4168e3b8be197bbbbc3f6427b660534512
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 253723426b..ffc2ea3f80 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6627,6 +6627,33 @@  (define-public rust-barrel-0.6
 API for Rust.")
     (license (list license:expat license:x11 license:asl2.0))))
 
+(define-public rust-bankstown-lv2-1
+  (package
+    (name "rust-bankstown-lv2")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bankstown-lv2" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1bcrn0b4b9v1mksaldhrdb6ncqlwldfwqxjlfp4gcpvl661qdmcb"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:cargo-inputs `(("rust-biquad" ,rust-biquad-0.4)
+                       ("rust-lv2" ,rust-lv2-0.6))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'install 'install-lv2
+            (lambda* (#:key outputs #:allow-other-keys)
+              (setenv "LIBDIR" (string-append (assoc-ref outputs "out") "/lib"))
+              (invoke "make" "install"))))))
+    (home-page "https://github.com/chadmed/bankstown")
+    (synopsis "Barebones, fast LV2 bass enhancement plugin.")
+    (description "This package provides a barebones, fast LV2 bass enhancement plugin.")
+    (license license:expat)))
+
 (define-public rust-base32-0.4
   (package
     (name "rust-base32")