Merge #217725: python3Packages.openaiauth: init at 0.3.2
This commit is contained in:
commit
7b287d6f6e
32
pkgs/development/python-modules/openaiauth/default.nix
Normal file
32
pkgs/development/python-modules/openaiauth/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "openaiauth";
|
||||
version = "0.3.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit version;
|
||||
pname = "OpenAIAuth";
|
||||
hash = "sha256-CPcBgGvxRO677EdPI3lNtJXkCW7el6N6N2GeaDo5ApU=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"OpenAIAuth"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "A Python library for authenticating with the OpenAI API";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ realsnick ];
|
||||
homepage = "https://github.com/acheong08/OpenAIAuth";
|
||||
changelog = "https://github.com/acheong08/OpenAIAuth/releases/tag/${version}";
|
||||
};
|
||||
}
|
@ -7156,6 +7156,8 @@ self: super: with self; {
|
||||
|
||||
openai = callPackage ../development/python-modules/openai { };
|
||||
|
||||
openaiauth = callPackage ../development/python-modules/openaiauth { };
|
||||
|
||||
openapi-core = callPackage ../development/python-modules/openapi-core { };
|
||||
|
||||
overly = callPackage ../development/python-modules/overly { };
|
||||
|
Loading…
Reference in New Issue
Block a user