biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / securityreporter / default.nix
blob3826f8397f5d6d411dfb0ee49ab4cc09c7ec6dba
2   lib,
3   buildPythonPackage,
4   docker,
5   fetchFromGitHub,
6   poetry-core,
7   pytestCheckHook,
8   pythonOlder,
9   requests,
10   responses,
13 buildPythonPackage rec {
14   pname = "securityreporter";
15   version = "1.1.0";
16   pyproject = true;
18   disabled = pythonOlder "3.8";
20   src = fetchFromGitHub {
21     owner = "dongit-org";
22     repo = "python-reporter";
23     rev = "refs/tags/v${version}";
24     hash = "sha256-Ddq1qjaQemawK+u3ArlsChrkzRbcuaj5LrswyTGwTrg=";
25   };
27   build-system = [ poetry-core ];
29   dependencies = [ requests ];
31   nativeCheckInputs = [
32     docker
33     pytestCheckHook
34     responses
35   ];
37   pythonImportsCheck = [ "reporter" ];
39   disabledTestPaths = [
40     # Test require a running Docker instance
41     "tests/functional/"
42   ];
44   meta = with lib; {
45     description = "Python wrapper for the Reporter API";
46     homepage = "https://github.com/dongit-org/python-reporter";
47     changelog = "https://github.com/dongit-org/python-reporter/releases/tag/v${version}";
48     license = licenses.mit;
49     maintainers = with maintainers; [ fab ];
50   };