1{
2 lib,
3 python3,
4 fetchFromGitHub,
5}:
6
7python3.pkgs.buildPythonApplication rec {
8 pname = "sqlmc";
9 version = "1.1.0";
10 pyproject = true;
11
12 src = fetchFromGitHub {
13 owner = "malvads";
14 repo = "sqlmc";
15 tag = version;
16 hash = "sha256-8p+9A1j+J3WItc1u8kG7LHY086kcwMGhEMENym2p/Fo=";
17 };
18
19 nativeBuildInputs = with python3.pkgs; [ setuptools ];
20
21 propagatedBuildInputs = with python3.pkgs; [
22 aiohttp
23 aiosignal
24 attrs
25 beautifulsoup4
26 frozenlist
27 idna
28 multidict
29 pyfiglet
30 soupsieve
31 tabulate
32 yarl
33 ];
34
35 pythonImportsCheck = [ "sqlmc" ];
36
37 meta = {
38 description = "Tool to check URLs of a domain for SQL injections";
39 homepage = "https://github.com/malvads/sqlmc";
40 changelog = "https://github.com/malvads/sqlmc/releases/tag/${version}";
41 license = lib.licenses.agpl3Only;
42 maintainers = with lib.maintainers; [ fab ];
43 mainProgram = "sqlmc";
44 };
45}