94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
32 lines
698 B
Nix
32 lines
698 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "openaiauth";
|
|
version = "0.3.6";
|
|
|
|
src = fetchPypi {
|
|
inherit version;
|
|
pname = "OpenAIAuth";
|
|
hash = "sha256-SaiTqs2HVv5ajUkrLJv24ed1+iJg5HqsCNe0IETkA00=";
|
|
};
|
|
|
|
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}";
|
|
};
|
|
}
|