mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-wavefile: Move to auidio.
* gnu/packages/python-xyz.scm (python-wavefile): Move from here ... * gnu/packages/audio.scm: ... to here. Change-Id: Ib7d9415a157577f1740d0b0c4fff415241d569d2
This commit is contained in:
parent
58f9f2a251
commit
0b896c96c4
2 changed files with 47 additions and 46 deletions
|
@ -50,6 +50,7 @@
|
||||||
;;; Copyright © 2024 mio <stigma@disroot.org>
|
;;; Copyright © 2024 mio <stigma@disroot.org>
|
||||||
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
|
;;; Copyright © 2024 Nikita Domnitskii <nikita@domnitskii.me>
|
||||||
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
|
;;; Copyright © 2024 Roman Scherer <roman@burningswell.com>
|
||||||
|
;;; Copyright © 2024 Sughosha <sughosha@disroot.org>
|
||||||
;;; Copyright © 2025 Junker <dk@junkeria.club>
|
;;; Copyright © 2025 Junker <dk@junkeria.club>
|
||||||
;;; Copyright © 2025 Sughosha <sughosha@disroot.org>
|
;;; Copyright © 2025 Sughosha <sughosha@disroot.org>
|
||||||
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
|
;;; Copyright © 2025 Andrew Wong <wongandj@icloud.com>
|
||||||
|
@ -3685,6 +3686,52 @@ one-dimensional sample-rate conversion library.")
|
||||||
files.")
|
files.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public python-wavefile
|
||||||
|
(package
|
||||||
|
(name "python-wavefile")
|
||||||
|
(version "1.6.3")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "wavefile" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "120r003xy0cv6a4d4cjxv140im007klgkvzfgc57m70rcbnggi7p"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:test-flags
|
||||||
|
#~(list "-k" (string-join
|
||||||
|
;; Assertion fail to compare files.
|
||||||
|
(list "not test_allFormats"
|
||||||
|
"test_commonFormats"
|
||||||
|
"test_majorFormats"
|
||||||
|
"test_subtypeFormats")
|
||||||
|
" and not "))
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'patch-libsndfile-path
|
||||||
|
(lambda _
|
||||||
|
(substitute* "wavefile/libsndfile.py"
|
||||||
|
(("'libsndfile")
|
||||||
|
(string-append "'" #$(this-package-input "libsndfile")
|
||||||
|
"/lib/libsndfile"))))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest
|
||||||
|
python-pytest-cov
|
||||||
|
python-setuptools-next))
|
||||||
|
(inputs
|
||||||
|
(list libsndfile
|
||||||
|
portaudio))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-numpy
|
||||||
|
python-pyaudio))
|
||||||
|
(home-page "https://github.com/vokimon/python-wavefile")
|
||||||
|
(synopsis "Pythonic audio file reader and writer")
|
||||||
|
(description
|
||||||
|
"This package provides pythonic libsndfile wrapper to read and write audio
|
||||||
|
files.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public audio-to-midi
|
(define-public audio-to-midi
|
||||||
(package
|
(package
|
||||||
(name "audio-to-midi")
|
(name "audio-to-midi")
|
||||||
|
|
|
@ -5850,52 +5850,6 @@ videos in a notebook.")
|
||||||
audio playback capability for Python 3 on OSX, Windows, and Linux.")
|
audio playback capability for Python 3 on OSX, Windows, and Linux.")
|
||||||
(license license:expat))) ; MIT license
|
(license license:expat))) ; MIT license
|
||||||
|
|
||||||
(define-public python-wavefile
|
|
||||||
(package
|
|
||||||
(name "python-wavefile")
|
|
||||||
(version "1.6.3")
|
|
||||||
(source
|
|
||||||
(origin
|
|
||||||
(method url-fetch)
|
|
||||||
(uri (pypi-uri "wavefile" version))
|
|
||||||
(sha256
|
|
||||||
(base32 "120r003xy0cv6a4d4cjxv140im007klgkvzfgc57m70rcbnggi7p"))))
|
|
||||||
(build-system pyproject-build-system)
|
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:test-flags
|
|
||||||
#~(list "-k" (string-join
|
|
||||||
;; Assertion fail to compare files.
|
|
||||||
(list "not test_allFormats"
|
|
||||||
"test_commonFormats"
|
|
||||||
"test_majorFormats"
|
|
||||||
"test_subtypeFormats")
|
|
||||||
" and not "))
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'patch-libsndfile-path
|
|
||||||
(lambda _
|
|
||||||
(substitute* "wavefile/libsndfile.py"
|
|
||||||
(("'libsndfile")
|
|
||||||
(string-append "'" #$(this-package-input "libsndfile")
|
|
||||||
"/lib/libsndfile"))))))))
|
|
||||||
(native-inputs
|
|
||||||
(list python-pytest
|
|
||||||
python-pytest-cov
|
|
||||||
python-setuptools-next))
|
|
||||||
(inputs
|
|
||||||
(list libsndfile
|
|
||||||
portaudio))
|
|
||||||
(propagated-inputs
|
|
||||||
(list python-numpy
|
|
||||||
python-pyaudio))
|
|
||||||
(home-page "https://github.com/vokimon/python-wavefile")
|
|
||||||
(synopsis "Pythonic audio file reader and writer")
|
|
||||||
(description
|
|
||||||
"This package provides pythonic libsndfile wrapper to read and write audio
|
|
||||||
files.")
|
|
||||||
(license license:gpl3+)))
|
|
||||||
|
|
||||||
(define-public python-jsonalias
|
(define-public python-jsonalias
|
||||||
(package
|
(package
|
||||||
(name "python-jsonalias")
|
(name "python-jsonalias")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue