6 python3.pkgs.buildPythonApplication rec {
7 pname = "appthreat-depscan";
10 src = fetchFromGitHub {
13 rev = "refs/tags/v${version}";
14 hash = "sha256-3K8dIKeb9bqopu8B8f1fHLIzXHTfmn4ZtDztRBSm10k=";
17 propagatedBuildInputs = with python3.pkgs; [
18 appthreat-vulnerability-db
24 checkInputs = with python3.pkgs; [
29 substituteInPlace pytest.ini \
30 --replace " --cov-append --cov-report term --cov depscan" ""
34 export HOME=$(mktemp -d);
39 "test_query_metadata2"
42 pythonImportsCheck = [
47 description = "Tool to audit dependencies based on known vulnerabilities and advisories";
48 homepage = "https://github.com/AppThreat/dep-scan";
49 license = with licenses; [ mit ];
50 maintainers = with maintainers; [ fab ];