efraim pushed a commit to branch rust-team
in repository guix.

commit eb8993885dea3519a65c4ac3028296352cb82cd6
Author: Roman Scherer <[email protected]>
AuthorDate: Wed Oct 30 19:56:06 2024 +0100

    gnu: Add bankstown-lv2.
    
    * gnu/packages/audio.scm (bankstown-lv2): New variable.
    
    Change-Id: Ie8a19c4168e3b8be197bbbbc3f6427b660534512
    Signed-off-by: Efraim Flashner <[email protected]>
---
 gnu/packages/audio.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 970d6a84a5..8de701b80a 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -49,6 +49,7 @@
 ;;; Copyright © 2024 hapster <[email protected]>
 ;;; Copyright © 2024 mio <[email protected]>
 ;;; Copyright © 2024 Nikita Domnitskii <[email protected]>
+;;; Copyright © 2024 Roman Scherer <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -80,6 +81,7 @@
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages cpp)
+  #:use-module (gnu packages crates-io)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages dbm)
   #:use-module (gnu packages documentation)
@@ -153,6 +155,7 @@
   #:use-module (gnu packages xiph)
   #:use-module (gnu packages xml)
   #:use-module (gnu packages xorg)
+  #:use-module (guix build-system cargo)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system copy)
   #:use-module (guix build-system glib-or-gtk)
@@ -1312,6 +1315,34 @@ bass section with five drawbars.  A standalone JACK 
application and LV2
 plugins are provided.")
       (license license:gpl2))))
 
+(define-public bankstown-lv2
+  (package
+    (name "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
+          (replace 'install
+            (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 calf
   (package
     (name "calf")

Reply via email to