diff options
author | happysalada <raphael@megzari.com> | 2020-11-01 16:34:16 +0900 |
---|---|---|
committer | happysalada <raphael@megzari.com> | 2020-11-01 16:34:16 +0900 |
commit | de694b3a14dc9787c87cae53933fbf7ccb6eb463 (patch) | |
tree | 189f8a81b648864bb3ffa0245140112d47565dd3 /pkgs | |
parent | cfed29bfcb28259376713005d176a6f82951014a (diff) |
sozu: 0.11.46 -> 0.11.50; fix Darwin build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/sozu/default.nix | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/pkgs/servers/sozu/default.nix b/pkgs/servers/sozu/default.nix index 1e8083587055c..16561da7d2971 100644 --- a/pkgs/servers/sozu/default.nix +++ b/pkgs/servers/sozu/default.nix @@ -1,22 +1,26 @@ -{ stdenv, rustPlatform, fetchFromGitHub }: +{ stdenv, rustPlatform, fetchFromGitHub, darwin }: rustPlatform.buildRustPackage rec { - pname = "sozu"; - version = "0.11.46"; + pname = "sozu"; + version = "0.11.50"; - src = fetchFromGitHub { - owner = "sozu-proxy"; - repo = pname; - rev = version; - sha256 = "0anng5qvdx9plxs9qqr5wmjjz0gx5113jq28xwbxaaklvd4ni7cm"; - }; + src = fetchFromGitHub { + owner = "sozu-proxy"; + repo = pname; + rev = version; + sha256 = "1srg2b8vwc4vp07kg4fizqj1rbm9hvf6hj1mjdh6yvb9cpbw3jz7"; + }; - cargoSha256 = "19c2s9h4jk9pff72wdqw384mvrf40d8x4sx7qysnpb4hayq2ijh3"; + cargoSha256 = "5WOigCiQZQ5DaTd15vV8pUh8Xl3UIe9yLG1ptUtY+iA="; - meta = with stdenv.lib; { - description = "Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures"; - homepage = "https://sozu.io"; - license = licenses.agpl3; - maintainers = with maintainers; [ filalex77 ]; - }; + buildInputs = + stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security; + + meta = with stdenv.lib; { + description = + "Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures"; + homepage = "https://www.sozu.io"; + license = licenses.agpl3; + maintainers = with maintainers; [ filalex77 ]; + }; } |