unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Famulari <leo@famulari.name>
To: guix-devel@gnu.org
Subject: [PATCH 13/13] gnu: Add beets.
Date: Thu,  3 Mar 2016 20:26:39 -0500	[thread overview]
Message-ID: <b542375c2fe20a078f352ac7043b441073de3f55.1457054741.git.leo@famulari.name> (raw)
In-Reply-To: <cover.1457054741.git.leo@famulari.name>
In-Reply-To: <cover.1457054741.git.leo@famulari.name>

* gnu/packages/music.scm (beets): New variable.
---
 gnu/packages/music.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 4959f3b..2369442 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -50,6 +50,7 @@
   #:use-module (gnu packages fltk)
   #:use-module (gnu packages fonts)
   #:use-module (gnu packages fontutils)
+  #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gnupg)
   #:use-module (gnu packages gettext)
@@ -65,6 +66,7 @@
   #:use-module (gnu packages linux) ; for alsa-utils
   #:use-module (gnu packages man)
   #:use-module (gnu packages mp3)
+  #:use-module (gnu packages mpd)
   #:use-module (gnu packages ncurses)
   #:use-module (gnu packages netpbm)
   #:use-module (gnu packages pdf)
@@ -1253,3 +1255,49 @@ websites such as Libre.fm.")
       (native-inputs
        `(("python2-setuptools" ,python2-setuptools)
          ,@(package-native-inputs pylast))))))
+
+(define-public beets
+  (package
+    (name "beets")
+    (version "1.3.17")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri name version))
+              (sha256
+               (base32
+                "0yg7sp18sdpszkinhb0bi6yinbn316jy1baxrwiw0m4byrj3rr6c"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:python ,python-2 ; only Python 2 is supported
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" (string-append (getcwd) "/tmp")))))))
+    (native-inputs
+     `(("python2-beautifulsoup4" ,python2-beautifulsoup4)
+       ("python2-flask" ,python2-flask)
+       ("python2-setuptools" ,python2-setuptools)
+       ("python2-mock" ,python2-mock)
+       ("python2-mpd2" ,python2-mpd2)
+       ("python2-pathlib" ,python2-pathlib)
+       ("python2-pyxdg" ,python2-pyxdg)
+       ("python2-pyechonest" ,python2-pyechonest)
+       ("python2-pylast" ,python2-pylast)
+       ("python2-rarfile" ,python2-rarfile)
+       ("python2-responses" ,python2-responses)))
+    ;; TODO: Install optional plugins and dependencies.
+    (propagated-inputs
+     `(("python2-enum34" ,python2-enum34)
+       ("python2-jellyfish" ,python2-jellyfish)
+       ("python2-munkres" ,python2-munkres)
+       ("python2-musicbrainzngs" ,python2-musicbrainzngs)
+       ("python2-mutagen" ,python2-mutagen)
+       ("python2-pyyaml" ,python2-pyyaml)
+       ("python2-unidecode" ,python2-unidecode)))
+    (home-page "http://beets.io")
+    (synopsis "Music organizer")
+    (description "The purpose of beets is to get your music collection right
+once and for all. It catalogs your collection, automatically improving its
+metadata as it goes using the MusicBrainz database. Then it provides a variety
+of tools for manipulating and accessing your music.")
+    (license license:expat)))
-- 
2.6.3

  parent reply	other threads:[~2016-03-04  1:26 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-04  1:26 [PATCH 00/13] Add beets and its dependencies Leo Famulari
2016-03-04  1:26 ` [PATCH 01/13] gnu: Add python-mutagen Leo Famulari
2016-03-04  1:26 ` [PATCH 02/13] gnu: Add python-munkres Leo Famulari
2016-03-04  1:26 ` [PATCH 03/13] gnu: Add python-musicbrainzngs Leo Famulari
2016-03-04  1:26 ` [PATCH 04/13] gnu: Add python-flask Leo Famulari
2016-03-04  1:26 ` [PATCH 05/13] gnu: Add python-pyechonest Leo Famulari
2016-03-04  1:26 ` [PATCH 06/13] gnu: Add python-pylast Leo Famulari
2016-03-04  1:26 ` [PATCH 07/13] gnu: Add python-responses Leo Famulari
2016-03-04  1:26 ` [PATCH 08/13] gnu: Add python2-pathlib Leo Famulari
2016-03-04  1:26 ` [PATCH 09/13] gnu: Add python-mpd2 Leo Famulari
2016-03-04  1:26 ` [PATCH 10/13] gnu: Add python-jellyfish Leo Famulari
2016-03-04  1:26 ` [PATCH 11/13] gnu: Add python2-unicodecsv Leo Famulari
2016-03-04  1:26 ` [PATCH 12/13] gnu: Add python-rarfile Leo Famulari
2016-03-04 12:42   ` Ricardo Wurmus
2016-03-04 21:29     ` Leo Famulari
2016-03-13 22:00       ` Leo Famulari
2016-03-17 21:31         ` Ricardo Wurmus
2016-03-17 21:59           ` Leo Famulari
2016-03-18  6:44             ` Efraim Flashner
2016-03-18 16:24               ` Leo Famulari
2016-03-04  1:26 ` Leo Famulari [this message]
2016-03-18 18:29   ` [PATCH 13/13] gnu: Add beets Leo Famulari
2016-03-18 20:42     ` Ludovic Courtès
2016-03-25 16:04     ` Mark H Weaver
2016-03-25 17:27       ` Leo Famulari
2016-03-25 23:37         ` Alex Griffin
2016-03-26  0:30           ` Leo Famulari
2016-03-26  0:40             ` Leo Famulari
2016-03-26 11:41             ` Ludovic Courtès
2016-03-26 14:58               ` Alex Griffin
2016-03-27 21:36                 ` Leo Famulari
2016-03-27 22:25                   ` Leo Famulari
2016-03-28 16:25                 ` Ludovic Courtès

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=b542375c2fe20a078f352ac7043b441073de3f55.1457054741.git.leo@famulari.name \
    --to=leo@famulari.name \
    --cc=guix-devel@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 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).