mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-11 22:54:17 +00:00
pwncat: modernize (#350996)
This commit is contained in:
commit
9efcbfa99c
@ -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";
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user