12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-FiCKRYIbgxSXbnSv1nauCryUA2PB5uVUK1mhtxJECAA=";
23 cargoHash = "sha256-iP5lElqfO4btllVAel5010bgSRQFO/pxyfrj4PFAnJc=";
25 nativeBuildInputs = [ protobuf ];
28 lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Security;
33 updateScript = nix-update-script { };
34 tests.version = testers.testVersion {
36 command = "sozu --version";
37 version = "${version}";
43 "Open Source HTTP Reverse Proxy built in Rust for Immutable Infrastructures";
44 homepage = "https://www.sozu.io";
45 changelog = "https://github.com/sozu-proxy/sozu/releases/tag/${version}";
46 license = licenses.agpl3Only;
47 maintainers = with maintainers; [ Br1ght0ne gaelreyrol ];
49 # error[E0432]: unresolved import `std::arch::x86_64`
50 broken = !stdenv.hostPlatform.isx86_64;