nixpkgs/pkgs/by-name/re/revpfw3/package.nix
2024-09-07 10:57:24 +02:00

26 lines
615 B
Nix

{
lib,
fetchgit,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
pname = "revpfw3";
version = "0.4.0";
src = fetchgit {
url = "https://git.tudbut.de/tudbut/revpfw3";
rev = "v${version}";
hash = "sha256-v8BtgQYdELui5Yu8kpE5f97MSo/WhNah+e1xXhZGJwM=";
};
cargoHash = "sha256-0AVp6fQq/NCkvKcK5ALbFNxNkt0NgbOmGlmDBGxwONQ=";
meta = {
description = "Reverse proxy to bypass the need for port forwarding";
homepage = "https://git.tudbut.de/tudbut/revpfw3";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ tudbut ];
mainProgram = "revpfw3";
};
}