Unverified Commit 9efcbfa9 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

pwncat: modernize (#350996)

parents 4f8c2dc2 8c6f7c8e
Loading
Loading
Loading
Loading
+12 −7
Original line number Diff line number Diff line
{ lib
, buildPythonApplication
, fetchPypi
{
  lib,
  python3Packages,
  fetchPypi,
}:

buildPythonApplication rec {
python3Packages.buildPythonApplication rec {
  pname = "pwncat";
  version = "0.1.2";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    sha256 = "1230fdn5mx3wwr3a3nn6z2vwh973n248m11hnx9y3fjq7bgpky67";
    hash = "sha256-x/h53zpYuuFTtzCEioiw4yTIt/jG2qFG5nz0WmxzYIg=";
  };

  build-system = with python3Packages; [ setuptools ];

  # Tests requires to start containers
  doCheck = false;

  meta = with lib; {
    description = "TCP/UDP communication suite";
    mainProgram = "pwncat";
    homepage = "https://pwncat.org/";
    license = with licenses; [ mit ];
    changelog = "https://github.com/cytopia/pwncat/releases/tag/v${version}";
    license = licenses.mit;
    maintainers = with maintainers; [ fab ];
    mainProgram = "pwncat";
  };
}
+0 −2
Original line number Diff line number Diff line
@@ -37574,8 +37574,6 @@ with pkgs;
  pyupgrade = with python3Packages; toPythonApplication pyupgrade;
  pwncat = python3Packages.callPackage ../tools/security/pwncat { };
  pwntools = with python3Packages; toPythonApplication pwntools;
  putty = callPackage ../applications/networking/remote/putty {