biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / by-name / co / conkeyscan / package.nix
blob8b95916046da5d3f7debb747589a3709079309bf
2   lib,
3   python3,
4   fetchFromGitHub,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "conkeyscan";
9   version = "1.0.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "CompassSecurity";
14     repo = "conkeyscan";
15     rev = "refs/tags/${version}";
16     hash = "sha256-F5lYpETzv03O9I4vi4qnLgQLvBlv8bLtJQArxliO8JI=";
17   };
19   postPatch = ''
20     substituteInPlace setup.py \
21       --replace-fail "{{VERSION_PLACEHOLDER}}" "${version}"
22   '';
24   build-system = with python3.pkgs; [ setuptools ];
26   dependencies = with python3.pkgs; [
27     atlassian-python-api
28     beautifulsoup4
29     clize
30     loguru
31     pysocks
32     random-user-agent
33     readchar
34     requests-ratelimiter
35   ];
37   # Project has no tests
38   doCheck = false;
40   pythonImportsCheck = [ "conkeyscan" ];
42   meta = with lib; {
43     description = "Tool to scan Confluence for keywords";
44     homepage = "https://github.com/CompassSecurity/conkeyscan";
45     changelog = "https://github.com/CompassSecurity/conkeyscan/releases/tag/${version}";
46     license = licenses.mit;
47     maintainers = with maintainers; [ fab ];
48     mainProgram = "conkeyscan";
49   };