mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
shadow-tls: init at 0.2.25
Co-authored-by: Aleksana <alexander.huang.y@gmail.com>
This commit is contained in:
parent
45a89f4ea3
commit
44682450e8
32
pkgs/by-name/sh/shadow-tls/package.nix
Normal file
32
pkgs/by-name/sh/shadow-tls/package.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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 = "A proxy to expose real tls handshake to the firewall";
|
||||
license = licenses.mit;
|
||||
mainProgram = "shadow-tls";
|
||||
maintainers = with maintainers; [ oluceps ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user