Unverified Commit 264d65c5 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

wsrepl: cleanup, fix (#400834)

parents c55e8e47 9f90ef1f
Loading
Loading
Loading
Loading
+13 −7
Original line number Diff line number Diff line
{
  lib,
  python3Packages,
  fetchFromGitHub,
  python3,
  nix-update-script,
}:

python3.pkgs.buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "wsrepl";
  version = "0.2.0";
  pyproject = true;
@@ -17,14 +18,15 @@ python3.pkgs.buildPythonApplication rec {
  };

  pythonRelaxDeps = [
    "rich"
    "textual"
  ];

  build-system = with python3.pkgs; [
  build-system = with python3Packages; [
    poetry-core
  ];

  dependencies = with python3.pkgs; [
  dependencies = with python3Packages; [
    pygments
    pyperclip
    rich
@@ -39,12 +41,16 @@ python3.pkgs.buildPythonApplication rec {
    "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";
  };
}