nixpkgs/pkgs/development/python-modules/oauth2/default.nix
adisbladis 02dab4ab5c python3.pkgs.*: Explicitly pass buildPythonPackage format parameter
Long term we should move everything over to `pyproject = true`, but in
the mean time we can work towards deprecating the implicit `format` paremeter.

cc https://github.com/NixOS/nixpkgs/issues/253154
cc @mweinelt @figsoda
2023-12-07 17:46:49 +01:00

33 lines
728 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, httplib2
, mock
, coverage
}:
buildPythonPackage rec {
pname = "oauth2";
version = "1.9.0.post1";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "c006a85e7c60107c7cc6da1b184b5c719f6dd7202098196dfa6e55df669b59bf";
};
propagatedBuildInputs = [ httplib2 ];
buildInputs = [ mock coverage ];
# ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net
doCheck = false;
meta = with lib; {
homepage = "https://github.com/simplegeo/python-oauth2";
description = "Library for OAuth version 1.0";
license = licenses.mit;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}