nixpkgs/pkgs/development/python-modules/discogs_client/default.nix

21 lines
539 B
Nix
Raw Normal View History

2017-09-16 03:46:07 +02:00
{ stdenv, buildPythonPackage, fetchPypi, requests, oauthlib }:
buildPythonPackage rec {
pname = "discogs-client";
2017-10-25 20:04:35 +02:00
version = "2.2.1";
2017-09-16 03:46:07 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-10-25 20:04:35 +02:00
sha256 = "9e32b5e45cff41af8025891c71aa3025b3e1895de59b37c11fd203a8af687414";
2017-09-16 03:46:07 +02:00
};
propagatedBuildInputs = [ requests oauthlib ];
meta = with stdenv.lib; {
description = "Official Python API client for Discogs";
license = licenses.bsd2;
homepage = "https://github.com/discogs/discogs_client";
};
}