python: Add new package discogs_client.

Needed in order to fetch Discogs album information in beets.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2014-12-30 22:34:48 +01:00
parent 07c9efaf22
commit a1acc35177
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

View File

@ -2168,6 +2168,23 @@ let
};
};
discogs_client = buildPythonPackage rec {
name = "discogs-client-2.0.2";
src = pkgs.fetchurl {
url = "https://pypi.python.org/packages/source/d/discogs-client/${name}.tar.gz";
md5 = "2cc57e1d134aa93404e779b9311676fa";
};
propagatedBuildInputs = with self; [ oauth2 requests ];
meta = {
description = "Official Python API client for Discogs";
license = licenses.bsd2;
homepage = "https://github.com/discogs/discogs_client";
};
};
dns = buildPythonPackage rec {
name = "dnspython-${version}";
version = "1.12.0";