13 buildPythonPackage rec {
14 pname = "securityreporter";
18 disabled = pythonOlder "3.10";
20 src = fetchFromGitHub {
22 repo = "python-reporter";
23 rev = "refs/tags/v${version}";
24 hash = "sha256-fpsvjbPE6iaOmLxykGSkCjkhFTmb8xhXa8pDrWN66KM=";
28 substituteInPlace pyproject.toml \
29 --replace-fail 'version = "0.0.0"' 'version = "${version}"'
32 build-system = [ poetry-core ];
34 dependencies = [ requests ];
42 pythonImportsCheck = [ "reporter" ];
45 # Test require a running Docker instance
50 description = "Python wrapper for the Reporter API";
51 homepage = "https://github.com/dongit-org/python-reporter";
52 changelog = "https://github.com/dongit-org/python-reporter/releases/tag/v${version}";
53 license = licenses.mit;
54 maintainers = with maintainers; [ fab ];