mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
20 lines
527 B
Nix
20 lines
527 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, requests, oauthlib }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "discogs-client";
|
|
version = "2.2.0";
|
|
name = "${pname}-${version}";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "1kjm4zyxlkv8cjyd4zl0yslbkmfz4ga9nm3d2glpw3nmvmvajn40";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests oauthlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Official Python API client for Discogs";
|
|
license = licenses.bsd2;
|
|
homepage = "https://github.com/discogs/discogs_client";
|
|
};
|
|
}
|