mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 22:36:23 +01:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
32 lines
727 B
Nix
32 lines
727 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec{
|
|
pname = "shadow-tls";
|
|
version = "0.2.25";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ihciah";
|
|
repo = "shadow-tls";
|
|
rev = "v${version}";
|
|
hash = "sha256-T+GPIrcME6Wq5sdfIt4t426/3ew5sUQMykYeZ6zw1ko=";
|
|
};
|
|
|
|
cargoHash = "sha256-w+DQeiQAtVsTw1VJhntX1FXymgS0fxsXiUmd6OjVWLQ=";
|
|
|
|
RUSTC_BOOTSTRAP = 1;
|
|
|
|
# network required
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ihciah/shadow-tls";
|
|
description = "Proxy to expose real tls handshake to the firewall";
|
|
license = licenses.mit;
|
|
mainProgram = "shadow-tls";
|
|
maintainers = with maintainers; [ oluceps ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|