Merge pull request #185917 from helsinki-systems/upd/varnish
This commit is contained in:
commit
f1671c8cfe
1 changed files with 6 additions and 6 deletions
|
@ -2,14 +2,14 @@
|
||||||
, coreutils, python3, makeWrapper }:
|
, coreutils, python3, makeWrapper }:
|
||||||
|
|
||||||
let
|
let
|
||||||
common = { version, sha256, extraNativeBuildInputs ? [] }:
|
common = { version, hash, extraNativeBuildInputs ? [] }:
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "varnish";
|
pname = "varnish";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://varnish-cache.org/_downloads/${pname}-${version}.tgz";
|
url = "https://varnish-cache.org/_downloads/${pname}-${version}.tgz";
|
||||||
inherit sha256;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
passthru.python = python3;
|
passthru.python = python3;
|
||||||
|
@ -42,7 +42,7 @@ let
|
||||||
description = "Web application accelerator also known as a caching HTTP reverse proxy";
|
description = "Web application accelerator also known as a caching HTTP reverse proxy";
|
||||||
homepage = "https://www.varnish-cache.org";
|
homepage = "https://www.varnish-cache.org";
|
||||||
license = licenses.bsd2;
|
license = licenses.bsd2;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ajs124 ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -50,10 +50,10 @@ in
|
||||||
{
|
{
|
||||||
varnish60 = common {
|
varnish60 = common {
|
||||||
version = "6.0.10";
|
version = "6.0.10";
|
||||||
sha256 = "1sr60wg5mzjb14y75cga836f19sbmmpgh13mwc4alyg3irsbz1bb";
|
hash = "sha256-a4W/dI7jeaoI43UE+G6tS6fgzEDqsXI8CUv+Wh4HJus=";
|
||||||
};
|
};
|
||||||
varnish71 = common {
|
varnish71 = common {
|
||||||
version = "7.1.0";
|
version = "7.1.1";
|
||||||
sha256 = "1flyqr212jamqpwafdil170vc966r1mbb7n3ngjn8xk6hn3bhjpm";
|
hash = "sha256-LK++JZDn1Yp7rIrZm+kuRA/k04raaBbdiDbyL6UToZA=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue