mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
24 lines
591 B
Nix
24 lines
591 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "rshijack";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "kpcyrd";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-ys1uiUQbge/eKAog2f0wL9xM+RxuxNlsc8ZceoDJk9s=";
|
|
};
|
|
|
|
cargoHash = "sha256-GkoRgl0jzej8HoD2wojLg71NQcGvQZTtdD4zuvsJa4Y=";
|
|
|
|
meta = with lib; {
|
|
description = "TCP connection hijacker";
|
|
homepage = "https://github.com/kpcyrd/rshijack";
|
|
license = licenses.gpl3;
|
|
maintainers = with maintainers; [ xrelkd ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|