Commit f70161f8 authored by Fabian Affolter's avatar Fabian Affolter
Browse files
parent dbf5e973
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -5,22 +5,19 @@

python3.pkgs.buildPythonApplication rec {
  pname = "dep-scan";
  version = "5.2.14";
  version = "5.3.2";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "owasp-dep-scan";
    repo = "dep-scan";
    rev = "refs/tags/v${version}";
    hash = "sha256-G8i/tGEDgjPnIP04nrbx4HseiaU6N1GJGSg78yhaqII=";
    hash = "sha256-2WV4f9vHdfnzoQWvwK/+lT9IS0v0sGBqnwDFHWG48G4=";
  };

  postPatch = ''
    substituteInPlace pytest.ini \
      --replace-fail " --cov-append --cov-report term --cov depscan" ""
    # Already fixed by upstream
    substituteInPlace pyproject.toml \
      --replace-fail "==5.6.4" ">=5.6.4"
  '';

  build-system = with python3.pkgs; [