2014-05-20 12:37:20 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-10-25 19:06:05 +01:00
|
|
|
name = "cutter-1.04";
|
2014-05-20 12:37:20 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.digitage.co.uk/digitage/files/cutter/${name}.tgz";
|
2015-10-25 19:06:05 +01:00
|
|
|
sha256 = "100iy31a3njif6vh9gfsqrm14hac05rrflla275gd4rkxdlnqcqv";
|
2014-05-20 12:37:20 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -D -m 0755 cutter $out/bin/tcp-cutter
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "TCP/IP Connection cutting on Linux Firewalls and Routers";
|
|
|
|
homepage = http://www.digitage.co.uk/digitage/software/linux-security/cutter;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.offline ];
|
|
|
|
};
|
|
|
|
}
|