Skip to content

Commit

Permalink
conkeyscan: init at 1.0.0
Browse files Browse the repository at this point in the history
Tool to scan Confluence for keywords

https://github.com/CompassSecurity/conkeyscan
  • Loading branch information
fabaff committed Jun 18, 2024
1 parent f3205d4 commit 8024070
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions pkgs/by-name/co/conkeyscan/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
lib,
python3,
fetchFromGitHub,
}:

python3.pkgs.buildPythonApplication rec {
pname = "conkeyscan";
version = "1.0.0";
pyproject = true;

src = fetchFromGitHub {
owner = "CompassSecurity";
repo = "conkeyscan";
rev = "refs/tags/${version}";
hash = "sha256-F5lYpETzv03O9I4vi4qnLgQLvBlv8bLtJQArxliO8JI=";
};

postPatch = ''
#
substituteInPlace setup.py \
--replace-fail "{{VERSION_PLACEHOLDER}}" "${version}"
'';


build-system = with python3.pkgs; [
setuptools
];

dependencies = with python3.pkgs; [
atlassian-python-api
beautifulsoup4
clize
loguru
pysocks
random-user-agent
readchar
requests-ratelimiter
];

# Project has no tests
doCheck = false;

pythonImportsCheck = [ "conkeyscan" ];

meta = with lib; {
description = "Tool to scan Confluence for keywords";
homepage = "https://github.com/CompassSecurity/conkeyscan";
changelog = "https://github.com/CompassSecurity/conkeyscan/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "conkeyscan";
};
}

0 comments on commit 8024070

Please sign in to comment.