ced21f5e1a
The `buildPython*` function computes name from `pname` and `version`. This change removes `name` attribute from all expressions in `pkgs/development/python-modules`. While at it, some other minor changes were made as well, such as replacing `fetchurl` calls with `fetchPypi`.
19 lines
507 B
Nix
19 lines
507 B
Nix
{ stdenv, buildPythonPackage, fetchPypi, requests, oauthlib }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "discogs-client";
|
|
version = "2.2.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "9e32b5e45cff41af8025891c71aa3025b3e1895de59b37c11fd203a8af687414";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests oauthlib ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Official Python API client for Discogs";
|
|
license = licenses.bsd2;
|
|
homepage = "https://github.com/discogs/discogs_client";
|
|
};
|
|
}
|