btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / pw / pwncat / package.nix
blob12b54f3a47384a08c93a9a999a211631a965b6d0
2   lib,
3   python3Packages,
4   fetchPypi,
5 }:
7 python3Packages.buildPythonApplication rec {
8   pname = "pwncat";
9   version = "0.1.2";
10   pyproject = true;
12   src = fetchPypi {
13     inherit pname version;
14     hash = "sha256-x/h53zpYuuFTtzCEioiw4yTIt/jG2qFG5nz0WmxzYIg=";
15   };
17   build-system = with python3Packages; [ setuptools ];
19   # Tests requires to start containers
20   doCheck = false;
22   meta = with lib; {
23     description = "TCP/UDP communication suite";
24     homepage = "https://pwncat.org/";
25     changelog = "https://github.com/cytopia/pwncat/releases/tag/v${version}";
26     license = licenses.mit;
27     maintainers = with maintainers; [ fab ];
28     mainProgram = "pwncat";
29   };