mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 00:43:20 +00:00
varnish: add passthru.tests
This commit is contained in:
parent
85e999f902
commit
4f968607f9
@ -1,5 +1,5 @@
|
||||
{ lib, stdenv, fetchurl, fetchpatch, pcre, pcre2, jemalloc, libxslt, groff, ncurses, pkg-config, readline, libedit
|
||||
, coreutils, python3, makeWrapper }:
|
||||
, coreutils, python3, makeWrapper, nixosTests }:
|
||||
|
||||
let
|
||||
common = { version, hash, extraNativeBuildInputs ? [] }:
|
||||
@ -12,8 +12,6 @@ let
|
||||
inherit hash;
|
||||
};
|
||||
|
||||
passthru.python = python3;
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [ pkg-config docutils sphinx makeWrapper];
|
||||
buildInputs = [
|
||||
libxslt groff ncurses readline libedit python3
|
||||
@ -37,6 +35,11 @@ let
|
||||
|
||||
outputs = [ "out" "dev" "man" ];
|
||||
|
||||
passthru = {
|
||||
python = python3;
|
||||
tests = nixosTests."varnish${builtins.replaceStrings [ "." ] [ "" ] (lib.versions.majorMinor version)}";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "Web application accelerator also known as a caching HTTP reverse proxy";
|
||||
|
Loading…
Reference in New Issue
Block a user