summary refs log tree commit diff
path: root/pkgs/development/python-modules/discogs_client/default.nix
blob: 5e3ac1e1fcde6a90d2b581b4c63e659ed8b0d56f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ lib, stdenv, buildPythonPackage, fetchPypi, requests, oauthlib }:

buildPythonPackage rec {
  pname = "discogs-client";
  version = "2.3.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "cc979fcbb5283f74d388c7111c8ed6bef920b01614a014d6b1c5d6fbb554bfc3";
  };

  propagatedBuildInputs = [ requests oauthlib ];

  meta = with lib; {
    description = "Official Python API client for Discogs";
    license = licenses.bsd2;
    homepage = "https://github.com/discogs/discogs_client";
  };
}