Something went wrong. Try again.
lol
Something went wrong. Try again.
1.2 kB · 65 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566{ lib, buildPythonPackage, click, fetchFromGitHub, logurich, pydantic, pytest-cov-stub, pytestCheckHook, pyvis, rich, typing-extensions, uv-build,}:
buildPythonPackage (finalAttrs: { pname = "cyvest"; version = "5.4.1"; pyproject = true;
src = fetchFromGitHub { owner = "PakitoSec"; repo = "cyvest"; tag = "v${finalAttrs.version}"; hash = "sha256-FEi/0pWUHFE1ZwDtKt6u2MPFAUeiOqA8LYfoqDu3vzI="; };
postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "uv_build>=0.9.8,<0.10.0" "uv_build" '';
pythonRelaxDeps = [ "pydantic" ];
build-system = [ uv-build ];
dependencies = [ click logurich pydantic rich typing-extensions ];
optional-dependencies = { visualization = [ pyvis ]; };
nativeCheckInputs = [ pytest-cov-stub pytestCheckHook ];
pythonImportsCheck = [ "cyvest" ];
meta = { description = "Cybersecurity Investigation Model"; homepage = "https://github.com/PakitoSec/cyvest"; changelog = "https://github.com/PakitoSec/cyvest/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; };})