Merge pull request #198186 from r-ryantm/auto-update/zap

zap: 2.11.1 -> 2.12.0
This commit is contained in:
Weijia Wang 2023-03-17 15:26:00 +02:00 committed by GitHub
commit c9b146ea24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,16 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "zap"; pname = "zap";
version = "2.11.1"; version = "2.12.0";
src = fetchurl { src = fetchurl {
url = "https://github.com/zaproxy/zaproxy/releases/download/v${version}/ZAP_${version}_Linux.tar.gz"; url = "https://github.com/zaproxy/zaproxy/releases/download/v${version}/ZAP_${version}_Linux.tar.gz";
sha256 = "0b1qqrjm4m76djy0az9hnz3rqpz1qkql4faqmi7gkx33b1p6d0sz"; sha256 = "sha256-nESTyZHLk0cGOGTSQ2o3lc87aXYGJeez20Ac00LT/FU=";
}; };
buildInputs = [ jre ]; buildInputs = [ jre ];
# From https://github.com/zaproxy/zaproxy/blob/master/zap/src/main/java/org/parosproxy/paros/Constant.java # From https://github.com/zaproxy/zaproxy/blob/master/zap/src/main/java/org/parosproxy/paros/Constant.java
version_tag = "2010000"; version_tag = "20012000";
# Copying config and adding version tag before first use to avoid permission # Copying config and adding version tag before first use to avoid permission
# issues if zap tries to copy config on it's own. # issues if zap tries to copy config on it's own.