mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add python-resampy.
* gnu/packages/audio.scm (python-resampy): New variable. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
2ef377ed13
commit
b615790a5f
1 changed files with 38 additions and 0 deletions
|
@ -103,6 +103,7 @@ (define-module (gnu packages audio)
|
|||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
|
||||
#:use-module (gnu packages python)
|
||||
#:use-module (gnu packages python-science)
|
||||
#:use-module (gnu packages python-xyz)
|
||||
#:use-module (gnu packages qt)
|
||||
#:use-module (gnu packages rdf)
|
||||
|
@ -5443,6 +5444,43 @@ (define-public python-pysox
|
|||
and much more.")
|
||||
(license license:bsd-3))))
|
||||
|
||||
(define-public python-resampy
|
||||
(package
|
||||
(name "python-resampy")
|
||||
(version "0.2.2")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri
|
||||
(git-reference
|
||||
;; PyPi does not include tests.
|
||||
(url "https://github.com/bmcfee/resampy")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "0qmkxl5sbgh0j73n667vyi7ywzh09iaync91yp1j5rrcmwsn0qfs"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key inputs outputs tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(add-installed-pythonpath inputs outputs)
|
||||
(invoke "pytest" "tests")))))))
|
||||
(propagated-inputs
|
||||
(list python-numba python-numpy python-scipy python-six))
|
||||
(native-inputs
|
||||
(list python-pytest python-pytest-cov))
|
||||
(home-page "https://github.com/bmcfee/resampy")
|
||||
(synopsis "Efficient signal resampling")
|
||||
(description
|
||||
"@code{python-resampy} implements the band-limited sinc interpolation
|
||||
method for sampling rate conversion as described by Julius O. Smith at the
|
||||
@url{https://ccrma.stanford.edu/~jos/resample/, Digital Audio Resampling
|
||||
Home Page}.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public mda-lv2
|
||||
(package
|
||||
(name "mda-lv2")
|
||||
|
|
Loading…
Reference in a new issue