depot/pkgs/by-name/pw/pwncat/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

30 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";
};
}