diff options
author | aszlig <aszlig@redmoonstudios.org> | 2014-12-30 22:34:48 +0100 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2014-12-30 22:34:48 +0100 |
commit | a1acc35177c703b1a2fce6c3c78579eef415c693 (patch) | |
tree | ce6cf5f4bc8b231fe2abe05a5f5c66d9844b9059 | |
parent | 07c9efaf22586ecd7e12aeebb00ea95a7a1aae1d (diff) | |
download | nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar.gz nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar.bz2 nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar.lz nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar.xz nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.tar.zst nixlib-a1acc35177c703b1a2fce6c3c78579eef415c693.zip |
python: Add new package discogs_client.
Needed in order to fetch Discogs album information in beets. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
-rw-r--r-- | pkgs/top-level/python-packages.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2649a44f7782..0a27eaf7d3dc 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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"; |