[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/08: gnu: Add python-discogs-client.
From: |
Leo Famulari |
Subject: |
07/08: gnu: Add python-discogs-client. |
Date: |
Sun, 27 Nov 2016 19:50:12 +0000 (UTC) |
lfam pushed a commit to branch master
in repository guix.
commit d3db5efbf97dd0d880b18c8fc0d3c76d91fd6e4d
Author: Leo Famulari <address@hidden>
Date: Sun Nov 27 01:13:53 2016 -0500
gnu: Add python-discogs-client.
* gnu/packages/music.scm (python-discogs-client,
python2-discogs-client): New variables.
---
gnu/packages/music.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index c2a995d..b8145bb 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2427,3 +2427,37 @@ a simulation of an analog Wah pedal with switchless
activation."))))
filters, crossovers, simple gain plugins without zipper noise, switch box
plugins, a switch trigger, a toggle switch, and a peakmeter.")
(license license:gpl2+))))
+
+(define-public python-discogs-client
+ (package
+ (name "python-discogs-client")
+ (version "2.2.1")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "discogs-client" version))
+ (sha256
+ (base32
+ "053ld2psh0yj3z0kg6z5bn4y3cr562m727494n0ayhgzbkjbacly"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-oauthlib" ,python-oauthlib)
+ ("python-requests" ,python-requests)))
+ (native-inputs
+ `(("python-six" ,python-six)))
+ (home-page "https://github.com/discogs/discogs_client")
+ (synopsis "Official Python client for the Discogs API")
+ (description "This is the official Discogs API client for Python. It
enables
+you to query the Discogs database for information on artists, releases, labels,
+users, Marketplace listings, and more. It also supports OAuth 1.0a
+authorization, which allows you to change user data such as profile
information,
+collections and wantlists, inventory, and orders.")
+ (license license:bsd-2)
+ (properties `((python2-variant . ,(delay python2-discogs-client))))))
+
+(define-public python2-discogs-client
+ (let ((base (package-with-python2
+ (strip-python2-variant python-discogs-client))))
+ (package (inherit base)
+ (native-inputs
+ `(("python2-setuptools" ,python2-setuptools)
+ ,@(package-native-inputs base))))))
- branch master updated (1bf5a7e -> f27ec24), Leo Famulari, 2016/11/27
- 03/08: gnu: python-musicbrainzngs: Update to 0.6., Leo Famulari, 2016/11/27
- 01/08: gnu: python-mutagen: Update to 1.35.1., Leo Famulari, 2016/11/27
- 07/08: gnu: Add python-discogs-client.,
Leo Famulari <=
- 05/08: gnu: python-jellyfish: Update to 0.5.6., Leo Famulari, 2016/11/27
- 08/08: gnu: beets: Update to 1.4.1., Leo Famulari, 2016/11/27
- 04/08: gnu: python-pylast: Update 1.6.0., Leo Famulari, 2016/11/27
- 06/08: gnu: python-rarfile: Update to 2.8., Leo Famulari, 2016/11/27
- 02/08: gnu: python-munkres: Update to 1.0.8., Leo Famulari, 2016/11/27