mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:03:22 +00:00
85f96822a0
Rust 1.50.0 incorporated a Cargo change (rust-lang/cargo#8937) in which cargo vendor erroneously changed permissions of vendored crates. This was fixed in Rust 1.51.0 (rust-lang/cargo#9131). Unfortunately, this means that all cargoSha256/cargoHashes produced during the Rust 1.50.0 cycle are potentially broken. This change updates cargoSha256/cargoHash tree-wide. Fixes #121994.
27 lines
707 B
Nix
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-xnps3/i6BpzdwUAQmb8aoOPc39L2P52y/ZDAeLoEIU8=";
|
|
|
|
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 ];
|
|
};
|
|
}
|