Unverified Commit 0dc49afa authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #258366 from octodi/arjun

arjun: init at 2.2.1
parents ac81a7bf ad026a9d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -12943,6 +12943,13 @@
      fingerprint = "939E F8A5 CED8 7F50 5BB5  B2D0 24BC 2738 5F70 234F";
    }];
  };
  octodi = {
    name = "octodi";
    email = "octodi@proton.me";
    matrix = "@octodi:matrix.org";
    github = "octodi";
    githubId = 127038896;
  };
  oddlama = {
    email = "oddlama@oddlama.org";
    github = "oddlama";
+43 −0
Original line number Diff line number Diff line
{ lib
, python3
, fetchFromGitHub
}:

python3.pkgs.buildPythonApplication rec {
  pname = "arjun";
  version = "2.2.1";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "s0md3v";
    repo = "Arjun";
    rev = "refs/tags/${version}";
    hash = "sha256-YxfUlD7aBwoYYsZE0zTZxoXg1TgU2yT1V+mglmsXtlo=";
  };

  nativeBuildInputs = with python3.pkgs; [
    setuptools
    wheel
  ];

  propagatedBuildInputs = with python3.pkgs; [
    requests
    dicttoxml
  ];

  # Project has no tests
  doCheck = false;

  pythonImportsCheck = [
    "arjun"
  ];

  meta = with lib; {
    description = "HTTP parameter discovery suite";
    homepage = "https://github.com/s0md3v/Arjun";
    changelog = "https://github.com/s0md3v/Arjun/blob/${version}/CHANGELOG.md";
    license = licenses.gpl3Only;
    maintainers = with maintainers; [ octodi ];
    mainProgram = "arjun";
  };
}