summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorIzorkin <izorkin@elven.pw>2020-11-20 10:33:42 +0300
committerIzorkin <izorkin@elven.pw>2020-11-20 19:27:42 +0300
commitd78ef1f3b5ce66cc6667b87ce376a607882f4a14 (patch)
tree12fa2999470a50eb922cc310fb10fff02ed4d46c /pkgs/servers/http
parent26803925aa41f3ba67d70facc5c020aa20cf70a8 (diff)
downloadnixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar.gz
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar.bz2
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar.lz
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar.xz
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.tar.zst
nixpkgs-d78ef1f3b5ce66cc6667b87ce376a607882f4a14.zip
unit: 1.20.0 -> 1.21.0
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/unit/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/servers/http/unit/default.nix b/pkgs/servers/http/unit/default.nix
index 318fcd498ab..f4379aa6fa2 100644
--- a/pkgs/servers/http/unit/default.nix
+++ b/pkgs/servers/http/unit/default.nix
@@ -1,4 +1,5 @@
 { stdenv, fetchFromGitHub, nixosTests, which
+, pcre2
 , withPython2 ? false, python2
 , withPython3 ? true, python3, ncurses
 , withPHP73 ? false, php73
@@ -30,19 +31,19 @@ let
   php74-unit = php74.override phpConfig;
 
 in stdenv.mkDerivation rec {
-  version = "1.20.0";
+  version = "1.21.0";
   pname = "unit";
 
   src = fetchFromGitHub {
     owner = "nginx";
-    repo = "unit";
+    repo = pname;
     rev = version;
-    sha256 = "1qmcz01ifmd80qgpvf1y8nhad6yk56772xdhqvwfxn3mdjfqvcs8";
+    sha256 = "1jczdxixxyj16w10pkcplchbqvx3m32nkmcl0hqap5ffqj08mmf7";
   };
 
   nativeBuildInputs = [ which ];
 
-  buildInputs = [ ]
+  buildInputs = [ pcre2.dev ]
     ++ optional withPython2 python2
     ++ optionals withPython3 [ python3 ncurses ]
     ++ optional withPHP73 php73-unit