From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 01/13] gnu: Add python-mutagen. Date: Thu, 3 Mar 2016 20:26:27 -0500 Message-ID: <454e73feeb003740efa1c400644dddc1ada88c08.1457054741.git.leo@famulari.name> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVy-0008PQ-MQ for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abeVv-0002VY-CX for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:46 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:40261) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVv-0002VI-8s for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:43 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id B47DEC00021 for ; Thu, 3 Mar 2016 20:26:42 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/music.scm (python-mutagen, python2-mutagen): New variables. --- gnu/packages/music.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index d789cc3..f8d88c1 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2015 Paul van der Walt ;;; Copyright © 2016 Al McElrath ;;; Copyright © 2016 Efraim Flashner +;;; Copyright © 2016 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -1134,3 +1135,28 @@ personalized online radio pandora.com. It has configurable keys for playing and managing stations, can be controlled remotely via fifo, and can run event-based scripts for scrobbling, notifications, etc.") (license license:expat))) + +(define-public python-mutagen + (package + (name "python-mutagen") + (version "1.31") + (source (origin + (method url-fetch) + (uri (pypi-uri "mutagen" version)) + (sha256 + (base32 + "16fnnhspniac2i7qswxafawsh2x2a803hmc6bn9k1zl5fxq1380a")))) + (build-system python-build-system) + (home-page "https://bitbucket.org/lazka/mutagen") + (synopsis "Read and write audio tags.") + (description "Mutagen is a Python module to handle audio metadata. It +supports ASF, FLAC, M4A, Monkey’s Audio, MP3, Musepack, Ogg FLAC, Ogg Speex, Ogg +Theora, Ogg Vorbis, True Audio, WavPack and OptimFROG audio files. All versions +of ID3v2 are supported, and all standard ID3v2.4 frames are parsed. It can read +Xing headers to accurately calculate the bitrate and length of MP3s. ID3 and +APEv2 tags can be edited regardless of audio format. It can also manipulate Ogg +streams on an individual packet/page level.") + (license license:gpl2))) ; "later version" never mentioned + +(define-public python2-mutagen + (package-with-python2 python-mutagen)) -- 2.6.3