Skip to content

Commit

Permalink
Merge pull request #104363 from Izorkin/nginx-unit
Browse files Browse the repository at this point in the history
unit: 1.20.0 -> 1.21.0
  • Loading branch information
markuskowa authored Nov 28, 2020
2 parents 4856796 + d78ef1f commit b83e5db
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pkgs/servers/http/unit/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub, nixosTests, which
, pcre2
, withPython2 ? false, python2
, withPython3 ? true, python3, ncurses
, withPHP73 ? false, php73
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b83e5db

Please sign in to comment.