varnishPackages.*: fix and update dynamic module
This commit is contained in:
parent
49df287d20
commit
9c765d4534
2 changed files with 15 additions and 8 deletions
|
@ -1,14 +1,14 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook269, pkg-config, varnish, docutils }:
|
||||
{ lib, stdenv, fetchFromGitHub, autoreconfHook269, pkg-config, varnish, docutils, version, sha256 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.4";
|
||||
stdenv.mkDerivation {
|
||||
pname = "${varnish.name}-dynamic";
|
||||
inherit version;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nigoroll";
|
||||
repo = "libvmod-dynamic";
|
||||
rev = "v${version}";
|
||||
sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk";
|
||||
inherit sha256;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config docutils autoreconfHook269 varnish.python ];
|
||||
|
|
|
@ -1,12 +1,19 @@
|
|||
{ callPackage, varnish60, varnish65 }:
|
||||
|
||||
{
|
||||
{ callPackage, varnish60, varnish65, fetchFromGitHub }: {
|
||||
varnish60Packages = {
|
||||
varnish = varnish60;
|
||||
digest = callPackage ./digest.nix { varnish = varnish60; };
|
||||
dynamic = callPackage ./dynamic.nix { varnish = varnish60; };
|
||||
dynamic = callPackage ./dynamic.nix {
|
||||
varnish = varnish60;
|
||||
version = "0.4";
|
||||
sha256 = "1n94slrm6vn3hpymfkla03gw9603jajclg84bjhwb8kxsk3rxpmk";
|
||||
};
|
||||
};
|
||||
varnish65Packages = {
|
||||
varnish = varnish65;
|
||||
dynamic = callPackage ./dynamic.nix {
|
||||
varnish = varnish65;
|
||||
version = "2.3.1";
|
||||
sha256 = "060vkba7jwcvx5704hh6ds0g0kfzpkdrg8548frvkrkz2s5j9y88";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue