3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/sozu/default.nix
2021-03-09 19:17:20 +00:00

27 lines
707 B
Nix

{ lib, stdenv, rustPlatform, fetchFromGitHub, darwin }:
rustPlatform.buildRustPackage rec {
pname = "sozu";
version = "0.11.56";
src = fetchFromGitHub {
owner = "sozu-proxy";
repo = pname;
rev = version;
sha256 = "sha256-/XyBzhZCsX9sGk+iTFlDnblWfDCZdI4b9yfo4Z+Wp1U=";
};
cargoSha256 = "sha256-F5EjBWHBNaQipxCi9Kiz5UTPMU0DuRf15NIVVvhiRxY=";
buildInputs =
lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta = with lib; {
description =
"Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures";
homepage = "https://www.sozu.io";
license = licenses.agpl3;
maintainers = with maintainers; [ Br1ght0ne ];
};
}