biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / security / mitmproxy2swagger / default.nix
blobbaf318573ee7024af0041269f4e6f40884d15fe7
2   lib,
3   fetchFromGitHub,
4   python3,
5 }:
7 python3.pkgs.buildPythonApplication rec {
8   pname = "mitmproxy2swagger";
9   version = "0.13.0";
10   pyproject = true;
12   src = fetchFromGitHub {
13     owner = "alufers";
14     repo = "mitmproxy2swagger";
15     rev = "refs/tags/${version}";
16     hash = "sha256-VHxqxee5sQWRS13V4SfY4LWaN0oxxWsNVDOEqUyKHfg=";
17   };
19   pythonRelaxDeps = [
20     "mitmproxy"
21     "ruamel.yaml"
22   ];
24   build-system = with python3.pkgs; [ poetry-core ];
26   dependencies = with python3.pkgs; [
27     json-stream
28     mitmproxy
29     ruamel-yaml
30   ];
32   # No tests available
33   doCheck = false;
35   pythonImportsCheck = [ "mitmproxy2swagger" ];
37   meta = with lib; {
38     description = "Tool to automagically reverse-engineer REST APIs";
39     homepage = "https://github.com/alufers/mitmproxy2swagger";
40     changelog = "https://github.com/alufers/mitmproxy2swagger/releases/tag/${version}";
41     license = licenses.mit;
42     maintainers = with maintainers; [ fab ];
43     mainProgram = "mitmproxy2swagger";
44   };