diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-30 16:46:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-30 17:50:19 +0200 |
commit | b2961dda2355973d26582d177a4a0a9bae56b083 (patch) | |
tree | e447577c6777fb83eb20438e49afb15a34eb153d /gnu/packages | |
parent | b0c2c5abf3a55e634a952916059d6e905ecaef9b (diff) | |
download | patches-b2961dda2355973d26582d177a4a0a9bae56b083.tar patches-b2961dda2355973d26582d177a4a0a9bae56b083.tar.gz |
gnu: Add perl-webservice-musicbrainz.
* gnu/packages/music.scm (perl-webservice-musicbrainz): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/music.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 394eceeedc..5d97482513 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -106,6 +106,7 @@ #:use-module (gnu packages pcre) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) + #:use-module (gnu packages perl-web) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) ;libsndfile @@ -4045,6 +4046,33 @@ MusicBrainz libdiscid library, allowing you to manipulate digital audio compact disc (CDDA) identifiers.") (license license:gpl2))) +(define-public perl-webservice-musicbrainz + (package + (name "perl-webservice-musicbrainz") + (version "1.0.4") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/B/BF/BFAIST/WebService-MusicBrainz-" + version ".tar.gz")) + (sha256 + (base32 + "182z3xjajk6s7k5xm3kssjy3hqx2qbnq4f8864hma098ryy2ph3a")))) + (build-system perl-build-system) + (arguments + ;; Tests try to connect to http://musicbrainz.org. + '(#:tests? #f)) + (native-inputs + `(("perl-module-build" ,perl-module-build))) + (propagated-inputs + `(("perl-mojolicious" ,perl-mojolicious))) + (home-page "https://metacpan.org/release/WebService-MusicBrainz") + (synopsis "Web service API to the MusicBrainz database") + (description + "This module searches the MusicBrainz database through their web service +at @code{musicbrainz.org}.") + (license license:perl-license))) + (define-public clyrics (package (name "clyrics") |