From: Vinicius Monego <monego@posteo.net>
To: 51208@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51208] [PATCH v2 2/2] gnu: Add whipper.
Date: Mon, 1 Nov 2021 18:03:25 +0000 [thread overview]
Message-ID: <20211101180325.230033-2-monego@posteo.net> (raw)
In-Reply-To: <20211101180325.230033-1-monego@posteo.net>
* gnu/packages/cdrom.scm (whipper): New variable.
---
Moved propagated inputs to normal inputs and removed gobject-introspection from native-inputs.
gnu/packages/cdrom.scm | 58 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/cdrom.scm b/gnu/packages/cdrom.scm
index 5551536408..b8a95a3b15 100644
--- a/gnu/packages/cdrom.scm
+++ b/gnu/packages/cdrom.scm
@@ -69,9 +69,12 @@
#:use-module (gnu packages base)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-web)
+ #:use-module (gnu packages pulseaudio)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages photo)
+ #:use-module (gnu packages serialization)
#:use-module (gnu packages swig)
#:use-module (gnu packages tcl)
#:use-module (gnu packages video)
@@ -639,6 +642,61 @@ from an audio CD.")
(CD Input and Control library).")
(license gpl3+)))
+(define-public whipper
+ (package
+ (name "whipper")
+ (version "0.10.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/whipper-team/whipper")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00cq03cy5dyghmibsdsq5sdqv3bzkzhshsng74bpnb5lasxp3ia5"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'cdparanoia
+ ;; Fix cdparanoia executable name.
+ (lambda _
+ (substitute* "whipper/program/cdparanoia.py"
+ (("cd-paranoia") "cdparanoia"))))
+ (add-before 'check 'set-home
+ (lambda _
+ (setenv "HOME" (getcwd)))) ; tests need a writable home
+ (add-before 'check 'skip-failing-test
+ ;; This test apparently relies on live data that changes over time:
+ ;; https://github.com/whipper-team/whipper/issues/515.
+ (lambda _
+ (substitute* "whipper/test/test_common_accurip.py"
+ (("test_AccurateRipResponse_parses_correctly")
+ "_test_AccurateRipResponse_parses_correctly")))))))
+ (native-inputs
+ `(("python-setuptools-scm" ,python-setuptools-scm)
+ ("python-twisted" ,python-twisted)))
+ (inputs
+ `(("cdparanoia" ,cdparanoia)
+ ("cdrdao" ,cdrdao)
+ ("flac" ,flac)
+ ("libdiscid" ,libdiscid)
+ ("libsndfile" ,libsndfile)
+ ("python-discid" ,python-discid)
+ ("python-musicbrainzngs" ,python-musicbrainzngs)
+ ("python-mutagen" ,python-mutagen)
+ ("python-pycdio" ,python-pycdio)
+ ("python-pygobject" ,python-pygobject)
+ ("python-ruamel.yaml" ,python-ruamel.yaml)
+ ("sox" ,sox)))
+ (home-page "https://github.com/whipper-team/whipper")
+ (synopsis "CD-DA ripper preferring accuracy over speed")
+ (description "Whipper is a CD-DA ripper forked from the morituri project
+(CDDA ripper aiming for accuracy over speed), which development seems to have
+halted.")
+ (license gpl3+)))
+
(define-public abcde
(package
(name "abcde")
--
2.30.2
prev parent reply other threads:[~2021-11-01 19:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-14 15:58 [bug#51208] [PATCH 0/2] gnu: Add whipper Vinicius Monego
2021-10-14 16:00 ` [bug#51208] [PATCH 1/2] gnu: Add python-pycdio Vinicius Monego
2021-10-14 16:00 ` [bug#51208] [PATCH 2/2] gnu: Add whipper Vinicius Monego
2021-11-01 18:03 ` [bug#51208] [PATCH v2 1/2] gnu: Add python-pycdio Vinicius Monego
2021-11-01 18:03 ` Vinicius Monego [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211101180325.230033-2-monego@posteo.net \
--to=monego@posteo.net \
--cc=51208@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.