Unverified Commit c034e27b authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #240950 from r-ryantm/auto-update/python310Packages.openaiauth

python310Packages.openaiauth: 1.0.2 -> 2.0.0
parents 9edfe6df c370fa75
Loading
Loading
Loading
Loading
+13 −6
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
}:

buildPythonPackage rec {
  pname = "openaiauth";
  version = "1.0.2";
  version = "2.0.0";
  format = "setuptools";

  disabled = pythonOlder "3.7";

  src = fetchPypi {
    inherit version;
    pname = "OpenAIAuth";
    hash = "sha256-0Vd8gvE2guHNlrPBahu23NpUFrJHvm6Q6NSNawX9gbY=";
    hash = "sha256-wmVR+cN/uJ75l62uzmHqpvEcnjzi6CU0kQ2e/5LxkBw=";
  };

  propagatedBuildInputs = [ requests ];
  propagatedBuildInputs = [
    requests
  ];

  # Module has no tests
  doCheck = false;

  pythonImportsCheck = [
@@ -23,10 +30,10 @@ buildPythonPackage rec {
  ];

  meta = with lib; {
    description = "A Python library for authenticating with the OpenAI API";
    license = licenses.mit;
    maintainers = with maintainers; [ realsnick ];
    description = "Library for authenticating with the OpenAI API";
    homepage = "https://github.com/acheong08/OpenAIAuth";
    changelog = "https://github.com/acheong08/OpenAIAuth/releases/tag/${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ realsnick ];
  };
}