diff --git a/pkgs/development/python-modules/openaiauth/default.nix b/pkgs/development/python-modules/openaiauth/default.nix index c8f7b29b6f59..68eead616b47 100644 --- a/pkgs/development/python-modules/openaiauth/default.nix +++ b/pkgs/development/python-modules/openaiauth/default.nix @@ -1,12 +1,16 @@ { lib , buildPythonPackage , fetchPypi +, pythonOlder , requests }: buildPythonPackage rec { pname = "openaiauth"; version = "2.0.0"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchPypi { inherit version; @@ -14,8 +18,11 @@ buildPythonPackage rec { 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 ]; }; }