2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-04-08 16:26:57 +00:00
|
|
|
pname = "tcp-cutter";
|
|
|
|
version = "1.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-04-08 16:26:57 +00:00
|
|
|
url = "http://www.digitage.co.uk/digitage/files/cutter/${pname}-${version}.tgz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "100iy31a3njif6vh9gfsqrm14hac05rrflla275gd4rkxdlnqcqv";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -m 0755 cutter $out/bin/tcp-cutter
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "TCP/IP Connection cutting on Linux Firewalls and Routers";
|
|
|
|
homepage = "http://www.digitage.co.uk/digitage/software/linux-security/cutter";
|
2024-05-15 15:35:15 +00:00
|
|
|
license = licenses.gpl2Only;
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.offline ];
|
2024-02-29 20:09:43 +00:00
|
|
|
mainProgram = "tcp-cutter";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|