mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.caido-server-auth: init at 0.1.2
Authenticate with a Caido instance https://github.com/caido-community/sdk-py/tree/main/packages/caido-server-auth
This commit is contained in:
parent
798607c40e
commit
35ab3d593f
2 changed files with 51 additions and 0 deletions
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
gql,
|
||||
nix-update-script,
|
||||
uv-build,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "caido-server-auth";
|
||||
version = "0.1.2";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "caido_server_auth";
|
||||
inherit (finalAttrs) version;
|
||||
hash = "sha256-6ywl6d4VBidgtoES9djprWPusTIlGLkMGgEZppp1JKQ=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "uv_build>=0.9.8,<0.10.0" "uv_build"
|
||||
'';
|
||||
|
||||
build-system = [ uv-build ];
|
||||
|
||||
dependencies = [
|
||||
gql
|
||||
]
|
||||
++ gql.optional-dependencies.aiohttp
|
||||
++ gql.optional-dependencies.websockets;
|
||||
|
||||
pythonImportsCheck = [ "caido_server_auth" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Authenticate with a Caido instance";
|
||||
homepage = "https://github.com/caido-community/sdk-py/tree/main/packages/caido-server-auth";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
|
|
@ -2470,6 +2470,8 @@ self: super: with self; {
|
|||
}
|
||||
);
|
||||
|
||||
caido-server-auth = callPackage ../development/python-modules/caido-server-auth { };
|
||||
|
||||
caio = callPackage ../development/python-modules/caio { };
|
||||
|
||||
cairocffi = callPackage ../development/python-modules/cairocffi { };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue