31 lines
680 B
Nix
31 lines
680 B
Nix
|
{
|
||
|
lib,
|
||
|
python3Packages,
|
||
|
fetchPypi,
|
||
|
}:
|
||
|
|
||
|
python3Packages.buildPythonApplication rec {
|
||
|
pname = "pwncat";
|
||
|
version = "0.1.2";
|
||
|
pyproject = true;
|
||
|
|
||
|
src = fetchPypi {
|
||
|
inherit pname version;
|
||
|
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";
|
||
|
homepage = "https://pwncat.org/";
|
||
|
changelog = "https://github.com/cytopia/pwncat/releases/tag/v${version}";
|
||
|
license = licenses.mit;
|
||
|
maintainers = with maintainers; [ fab ];
|
||
|
mainProgram = "pwncat";
|
||
|
};
|
||
|
}
|