Unverified Commit a8e71b13 authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

rust-rpxy: init at 0.10.4 (#495387)

parents b7f39658 dc0f0a89
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -13134,6 +13134,12 @@
    githubId = 752510;
    name = "Martin Potier";
  };
  jpteb = {
    name = "Jan Philipp Tebernum";
    github = "jpteb";
    githubId = 13502853;
    email = "jpteb@pm.me";
  };
  jpts = {
    email = "james+nixpkgs@cleverley-prance.uk";
    github = "jpts";
+33 −0
Original line number Diff line number Diff line
{
  lib,
  fetchFromGitHub,
  rustPlatform,
}:
rustPlatform.buildRustPackage (finalAttrs: {
  pname = "rust-rpxy";
  version = "0.10.4";

  src = fetchFromGitHub {
    owner = "junkurihara";
    repo = "rust-rpxy";
    tag = finalAttrs.version;
    hash = "sha256-KGg+OtQj1PIp/zbViPTyAUvm6bRzWB1l6ktpDEOIDYM=";
    fetchSubmodules = true;
  };

  cargoHash = "sha256-Fe/64ytHYBf1/VvWVGWrXiqHwAcoUh76zgHJ8FbTbzE=";

  meta = {
    description = "Http reverse proxy serving multiple domain names and terminating TLS for http/1.1, 2 and 3, written in Rust";
    homepage = "https://github.com/junkurihara/rust-rpxy";
    changelog = "https://github.com/junkurihara/rust-rpxy/releases/tag/${finalAttrs.version}";
    license = with lib.licenses; [
      mit
    ];
    maintainers = with lib.maintainers; [
      jpteb
    ];
    mainProgram = "rpxy";
    platforms = lib.platforms.all;
  };
})