wsrepl: cleanup, fix

Changed files
+13 -7
pkgs
by-name
ws
wsrepl
+13 -7
pkgs/by-name/ws/wsrepl/package.nix
···
{
lib,
+
python3Packages,
fetchFromGitHub,
-
python3,
+
nix-update-script,
}:
-
python3.pkgs.buildPythonApplication rec {
+
python3Packages.buildPythonApplication rec {
pname = "wsrepl";
version = "0.2.0";
pyproject = true;
···
};
pythonRelaxDeps = [
+
"rich"
"textual"
];
-
build-system = with python3.pkgs; [
+
build-system = with python3Packages; [
poetry-core
];
-
dependencies = with python3.pkgs; [
+
dependencies = with python3Packages; [
pygments
pyperclip
rich
···
"wsrepl"
];
-
meta = with lib; {
+
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 = licenses.mit;
-
maintainers = with maintainers; [ fab ];
+
license = lib.licenses.mit;
+
maintainers = with lib.maintainers; [ fab ];
mainProgram = "wsrepl";
};
}