Merge pull request #139882 from fabaff/rustcat

rustcat: init at 1.3.0
This commit is contained in:
Ryan Mulligan
2021-09-29 05:08:20 -07:00
committed by GitHub
2 changed files with 33 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{ lib
, stdenv
, fetchFromGitHub
, rustPlatform
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "rustcat";
version = "1.3.0";
src = fetchFromGitHub {
owner = "robiot";
repo = pname;
rev = "v${version}";
sha256 = "0f4g0fk3i9p403r21w1cdz4r9778pkz58y8h7w2fmj27bamsyfhb";
};
cargoSha256 = "0zlgnnlnglix0qrjc5v0g91v083lm20iw1fhvjpvjlfq7shdkhyd";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Port listener and reverse shell";
homepage = "https://github.com/robiot/rustcat";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}
+4
View File
@@ -8866,6 +8866,10 @@ with pkgs;
rust-petname = callPackage ../tools/text/rust-petname { };
rustcat = callPackage ../tools/networking/rustcat {
inherit (darwin.apple_sdk.frameworks) Security;
};
rustscan = callPackage ../tools/security/rustscan {
inherit (darwin.apple_sdk.frameworks) Security;
};