diff --git a/pkgs/development/python-modules/openaiauth/default.nix b/pkgs/development/python-modules/openaiauth/default.nix index 7cc6e6d99e9a..68eead616b47 100644 --- a/pkgs/development/python-modules/openaiauth/default.nix +++ b/pkgs/development/python-modules/openaiauth/default.nix @@ -1,21 +1,28 @@ { 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 ]; }; }