blob: 9bab0957d5b3a4dadacc6e4b1a4640d0aaf3dbb3 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "wsrepl";
version = "0.2.0";
pyproject = true;
src = fetchFromGitHub {
owner = "doyensec";
repo = "wsrepl";
rev = "refs/tags/v${version}";
hash = "sha256-Y96p39TjpErGsR5vFS0NxEF/2Tnr2Zk7ULDgNXaXx9o=";
};
pythonRelaxDeps = [
"textual"
];
nativeBuildInputs = with python3.pkgs; [
pythonRelaxDepsHook
];
build-system = with python3.pkgs; [
poetry-core
];
dependencies = with python3.pkgs; [
pygments
pyperclip
rich
textual
websocket-client
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"wsrepl"
];
meta = with lib; {
description = "WebSocket REPL";
homepage = "https://github.com/doyensec/wsrepl";
changelog = "https://github.com/doyensec/wsrepl/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "wsrepl";
};
}
|