nixpkgs/pkgs/development/python-modules/discogs_client/default.nix
2021-01-25 18:31:47 +01:00

20 lines
497 B
Nix

{ lib, 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";
};
}