depot/third_party/nixpkgs/pkgs/development/python-modules/openaiauth/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

32 lines
698 B
Nix

{ 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}";
};
}