nixpkgs/pkgs/tools/security/pwncat/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

26 lines
525 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
}:
buildPythonApplication rec {
pname = "pwncat";
version = "0.1.2";
src = fetchPypi {
inherit pname version;
sha256 = "1230fdn5mx3wwr3a3nn6z2vwh973n248m11hnx9y3fjq7bgpky67";
};
# 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 ];
maintainers = with maintainers; [ fab ];
};
}