blob: 2567e81928ee70abf10bd099e8275d5dfee0126f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
{
lib,
buildPythonPackage,
fetchPypi,
setuptools,
tls-client,
}:
buildPythonPackage rec {
pname = "openaiauth";
version = "3.0.0";
pyproject = true;
src = fetchPypi {
inherit version;
pname = "OpenAIAuth";
hash = "sha256-9SrptiheiM5s9YI6Ht68ahDGMFADWfBQgAWUBY3EEJ8=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ tls-client ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "OpenAIAuth" ];
meta = {
description = "Library for authenticating with the OpenAI API";
homepage = "https://github.com/acheong08/OpenAIAuth";
changelog = "https://github.com/acheong08/OpenAIAuth/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ logger ];
};
}
|