1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/development/python-modules/discogs_client/default.nix
2017-09-18 11:59:21 +02:00

21 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";
};
}