Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
python3Packages,
fetchFromGitHub,
nix-update-script,
}:
python3Packages.buildPythonApplication rec {
pname = "wsrepl";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "doyensec";
repo = "wsrepl";
tag = "v${version}";
hash = "sha256-Y96p39TjpErGsR5vFS0NxEF/2Tnr2Zk7ULDgNXaXx9o=";
};
pythonRelaxDeps = [
"rich"
"textual"
];
build-system = with python3Packages; [
poetry-core
];
dependencies = with python3Packages; [
pygments
pyperclip
rich
textual
websocket-client
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"wsrepl"
];
passthru = {
updateScript = nix-update-script { };
};
meta = {
description = "WebSocket REPL";
homepage = "https://github.com/doyensec/wsrepl";
changelog = "https://github.com/doyensec/wsrepl/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ fab ];
mainProgram = "wsrepl";
};
}