12 rustPlatform.buildRustPackage rec {
16 src = fetchFromGitHub {
20 hash = "sha256-9TSu27s/rnO48zEhBzaHaU3pHyIJ0LVZC8LBRhn0PNM=";
23 cargoHash = "sha256-h9igqV9YqMqRhqwsKYIji8WAVmcPQfErcPPm0PcDwss=";
25 nativeBuildInputs = [ protobuf ];
28 lib.optional stdenv.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.isx86_64;