Unverified Commit 4e936c83 authored by pwnwriter's avatar pwnwriter
Browse files

kanha: init at 0.1.2

parent 8bc80c47
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -16685,12 +16685,6 @@
    githubId = 23097564;
    name = "Nora Widdecke";
  };
  pwoelfel = {
    name = "Philipp Woelfel";
    email = "philipp.woelfel@gmail.com";
    github = "PhilippWoelfel";
    githubId = 19400064;
  };
  pwnwriter = {
    name = "Nabeen Tiwaree";
    email = "hey@pwnwriter.xyz";
@@ -16698,6 +16692,12 @@
    github = "pwnwriter";
    githubId = 90331517;
  };
  pwoelfel = {
    name = "Philipp Woelfel";
    email = "philipp.woelfel@gmail.com";
    github = "PhilippWoelfel";
    githubId = 19400064;
  };
  pyle = {
    name = "Adam Pyle";
    email = "adam@pyle.dev";
+40 −0
Original line number Diff line number Diff line
{
  lib,
  rustPlatform,
  fetchCrate,
  stdenv,
  darwin,
  openssl,
}:

rustPlatform.buildRustPackage rec {
  pname = "kanha";
  version = "0.1.2";

  src = fetchCrate {
    inherit version;
    pname = "kanha";
    hash = "sha256-ftTmYCkra3x/oDgGJ2WSf6yLeKXkwLJXhjuBdv7fVLY=";
  };

  cargoHash = "sha256-kjHLc+qWo5dB4qbdlIWzk/pjpghRaDcX/7kkjEM219c=";

  buildInputs =
    [ openssl ]
    ++ lib.optionals stdenv.isDarwin (
      with darwin.apple_sdk.frameworks;
      [
        Security
        CoreFoundation
        SystemConfiguration
      ]
    );

  meta = {
    description = "Web-app pentesting suite written in rust";
    homepage = "https://github.com/pwnwriter/kanha";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ pwnwriter ];
    mainProgram = "kanha";
  };
}