nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 8aaccda98ff8594ec963d7756b1aa320b03c6b4d
parent 8170adbd78789804bf2cf9b992985d73ea7f1091
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Wed, 15 Jan 2020 10:25:20 +0300

Add ptunnel

Diffstat:
Mdefault.nix | 1+
Apkgs/ptunnel/default.nix | 23+++++++++++++++++++++++
2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/default.nix b/default.nix @@ -92,6 +92,7 @@ in rec { openorienteering-mapper = libsForQt5.callPackage ./pkgs/openorienteering-mapper { inherit (sources) mapper; }; + ptunnel = callPackage ./pkgs/ptunnel { }; pymbtiles = python3Packages.callPackage ./pkgs/pymbtiles { inherit (sources) pymbtiles; }; diff --git a/pkgs/ptunnel/default.nix b/pkgs/ptunnel/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, libpcap }: + +stdenv.mkDerivation rec { + pname = "ptunnel"; + version = "0.72"; + + src = fetchurl { + url = "https://www.cs.uit.no/~daniels/PingTunnel/PingTunnel-${version}.tar.gz"; + sha256 = "19076k3rjb6bfsdd8yzlf247vy84dziafm6hd5i8p4c8gnmgf65k"; + }; + + buildInputs = [ libpcap ]; + + makeFlags = [ "prefix=$(out)" ]; + + meta = with stdenv.lib; { + description = "A tool for reliably tunneling TCP connections over ICMP echo request and reply packets"; + homepage = "https://www.cs.uit.no/~daniels/PingTunnel"; + license = licenses.bsd3; + maintainers = with maintainers; [ sikmir ]; + platforms = platforms.linux; + }; +}