Skip to content

Commit

Permalink
Merge pull request #85343 from xrelkd/add/rshijack
Browse files Browse the repository at this point in the history
rshijack: init at 0.3.0
  • Loading branch information
marsam authored Apr 19, 2020
2 parents 8084edb + 07a85c0 commit 1406d8b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions pkgs/tools/networking/rshijack/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{ lib, fetchFromGitHub, rustPlatform }:

rustPlatform.buildRustPackage rec {
pname = "rshijack";
version = "0.3.0";

src = fetchFromGitHub {
owner = "kpcyrd";
repo = pname;
rev = "v${version}";
sha256 = "0y01hi3jpfawqlqs8ka0vwfhjw5j5gkhk2nz5m13ns2h27bw20v7";
};

cargoSha256 = "0l1kavacnjvi22l6pawgkqqxnjaizi3pddqkhwjshw4pzzixzvli";

meta = with lib; {
description = "TCP connection hijacker";
homepage = "https://github.com/kpcyrd/rshijack";
license = licenses.gpl3;
maintainers = with maintainers; [ xrelkd ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6345,6 +6345,8 @@ in

rrdtool = callPackage ../tools/misc/rrdtool { };

rshijack = callPackage ../tools/networking/rshijack { };

rsibreak = libsForQt5.callPackage ../applications/misc/rsibreak { };

rss2email = callPackage ../applications/networking/feedreaders/rss2email {
Expand Down

0 comments on commit 1406d8b

Please sign in to comment.