Fabian Affolter 2024-04-10 12:40:30 +02:00
parent dbf5e97357
commit f70161f889

View File

@ -5,22 +5,19 @@
python3.pkgs.buildPythonApplication rec { python3.pkgs.buildPythonApplication rec {
pname = "dep-scan"; pname = "dep-scan";
version = "5.2.14"; version = "5.3.2";
pyproject = true; pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "owasp-dep-scan"; owner = "owasp-dep-scan";
repo = "dep-scan"; repo = "dep-scan";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-G8i/tGEDgjPnIP04nrbx4HseiaU6N1GJGSg78yhaqII="; hash = "sha256-2WV4f9vHdfnzoQWvwK/+lT9IS0v0sGBqnwDFHWG48G4=";
}; };
postPatch = '' postPatch = ''
substituteInPlace pytest.ini \ substituteInPlace pytest.ini \
--replace-fail " --cov-append --cov-report term --cov depscan" "" --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; [ build-system = with python3.pkgs; [