From 56a3a71d36d58cfe00cbcec8ef8157dfcd887979 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 10 Aug 2022 15:36:34 +0200 Subject: [PATCH 1/3] varnish: sha256 -> hash --- pkgs/servers/varnish/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index 45fc65326526..339a2875cc60 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -2,14 +2,14 @@ , coreutils, python3, makeWrapper }: let - common = { version, sha256, extraNativeBuildInputs ? [] }: + common = { version, hash, extraNativeBuildInputs ? [] }: stdenv.mkDerivation rec { pname = "varnish"; inherit version; src = fetchurl { url = "https://varnish-cache.org/_downloads/${pname}-${version}.tgz"; - inherit sha256; + inherit hash; }; passthru.python = python3; @@ -50,10 +50,10 @@ in { varnish60 = common { version = "6.0.10"; - sha256 = "1sr60wg5mzjb14y75cga836f19sbmmpgh13mwc4alyg3irsbz1bb"; + hash = "sha256-a4W/dI7jeaoI43UE+G6tS6fgzEDqsXI8CUv+Wh4HJus="; }; varnish71 = common { version = "7.1.0"; - sha256 = "1flyqr212jamqpwafdil170vc966r1mbb7n3ngjn8xk6hn3bhjpm"; + hash = "sha256-9Uq4hoVmdmTls8OetWrIxiS2wQk0Nqf4xVVJEUTGnro="; }; } From 1b6c66d38c9aa842b3987b5c9e36699e44c6bf46 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 10 Aug 2022 15:37:38 +0200 Subject: [PATCH 2/3] varnish71: 7.1.0 -> 7.1.1 https://varnish-cache.org/security/VSV00009.html#vsv00009 --- pkgs/servers/varnish/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index 339a2875cc60..ff2381cbb5ca 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -53,7 +53,7 @@ in hash = "sha256-a4W/dI7jeaoI43UE+G6tS6fgzEDqsXI8CUv+Wh4HJus="; }; varnish71 = common { - version = "7.1.0"; - hash = "sha256-9Uq4hoVmdmTls8OetWrIxiS2wQk0Nqf4xVVJEUTGnro="; + version = "7.1.1"; + hash = "sha256-LK++JZDn1Yp7rIrZm+kuRA/k04raaBbdiDbyL6UToZA="; }; } From cdbf0d5d673ed2475f29a440f3079588d3123aa6 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 10 Aug 2022 15:38:08 +0200 Subject: [PATCH 3/3] varnish: add myself as maintainer --- pkgs/servers/varnish/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/varnish/default.nix b/pkgs/servers/varnish/default.nix index ff2381cbb5ca..37705cc689de 100644 --- a/pkgs/servers/varnish/default.nix +++ b/pkgs/servers/varnish/default.nix @@ -42,7 +42,7 @@ let description = "Web application accelerator also known as a caching HTTP reverse proxy"; homepage = "https://www.varnish-cache.org"; license = licenses.bsd2; - maintainers = with maintainers; [ ]; + maintainers = with maintainers; [ ajs124 ]; platforms = platforms.unix; }; };