unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 52203@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#52203] [PATCH 2/2] gnu: Add python-librosa.
Date: Tue, 30 Nov 2021 13:00:00 -0500	[thread overview]
Message-ID: <20211130180000.11063-2-jgart@dismail.de> (raw)
In-Reply-To: <20211130180000.11063-1-jgart@dismail.de>

* gnu/packages/audio.scm (python-librosa): New variable.
---
 gnu/packages/audio.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index cc484c0b67..b91b97f47e 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -90,6 +90,7 @@ (define-module (gnu packages audio)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages llvm)
+  #:use-module (gnu packages machine-learning)
   #:use-module (gnu packages man)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages mp3) ;taglib
@@ -5630,6 +5631,39 @@ (define-public python-resampy
 Home Page}.")
     (license license:isc)))
 
+(define-public python-librosa
+  (package
+    (name "python-librosa")
+    (version "0.8.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "librosa" version))
+        (sha256
+          (base32 "1cx6rhcvak0hy6bx84jwzpxmwgi92m82w77279akwjmfd3khagf5"))))
+    (build-system python-build-system)
+    (arguments
+    ;; Tests require internet connection to download MATLAB scripts for
+    ;; generating the testing data.
+      `(#:tests? #f))
+    (propagated-inputs
+      `(("python-audioread" ,python-audioread)
+        ("python-decorator" ,python-decorator)
+        ("python-joblib" ,python-joblib)
+        ("python-numba" ,python-numba)
+        ("python-numpy" ,python-numpy)
+        ("python-packaging" ,python-packaging)
+        ("python-pooch" ,python-pooch)
+        ("python-resampy" ,python-resampy)
+        ("python-scikit-learn" ,python-scikit-learn)
+        ("python-scipy" ,python-scipy)
+        ("python-soundfile" ,python-soundfile)))
+    (home-page "https://librosa.org")
+    (synopsis "Python module for audio and music processing")
+    (description
+"@code{librosa} is a python package for music and audio analysis.")
+    (license license:isc)))
+
 (define-public mda-lv2
   (package
     (name "mda-lv2")
-- 
2.34.0





  reply	other threads:[~2021-11-30 18:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-30 17:53 [bug#52203] [PATCH 1/2] Add python-librosa jgart via Guix-patches via
2021-11-30 17:59 ` [bug#52203] [PATCH 1/2] gnu: Add python-resampy jgart via Guix-patches via
2021-11-30 18:00   ` jgart via Guix-patches via [this message]
2021-12-26 18:13 ` bug#52203: [PATCH 1/2] Add python-librosa Mathieu Othacehe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211130180000.11063-2-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=52203@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).