1 { lib, stdenv, fetchFromGitHub, makeWrapper, metasploit, curl, inetutils, openssl }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "UIdE0oSaNu16pf+M96x8AnNju88hdzokv86wm8uBYDQ=";
21 install -Dm755 msfpc.sh $out/bin/msfpc
27 wrapProgram $out/bin/msfpc \
28 --prefix PATH : "${lib.makeBinPath [ metasploit curl inetutils openssl ]}"
32 description = "MSFvenom Payload Creator";
33 mainProgram = "msfpc";
34 homepage = "https://github.com/g0tmi1k/msfpc";
35 license = licenses.mit;
36 maintainers = with maintainers; [ emilytrau ];
37 platforms = platforms.unix;