pwncat: modernize (#350996)

This commit is contained in:
Fabian Affolter 2024-10-25 22:51:08 +02:00 committed by GitHub
commit 9efcbfa99c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 9 deletions

View File

@ -1,25 +1,30 @@
{ 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";
};
}

View File

@ -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 {