1 { lib, stdenv, fetchFromGitHub, autoreconfHook269, pkg-config, varnish, docutils, version, sha256 }:
4 pname = "${varnish.name}-dynamic";
7 src = fetchFromGitHub {
9 repo = "libvmod-dynamic";
14 nativeBuildInputs = [ pkg-config docutils autoreconfHook269 varnish.python ];
15 buildInputs = [ varnish ];
17 substituteInPlace Makefile.am --replace "''${LIBVARNISHAPI_DATAROOTDIR}/aclocal" "${varnish.dev}/share/aclocal"
19 configureFlags = [ "VMOD_DIR=$(out)/lib/varnish/vmods" ];
22 description = "Dynamic director similar to the DNS director from Varnish 3";
23 homepage = "https://github.com/nigoroll/libvmod-dynamic";
24 inherit (varnish.meta) license platforms maintainers;