nixpkgs/pkgs/by-name/tc/tcp-cutter/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
686 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2014-05-20 10:37:20 +00:00
stdenv.mkDerivation rec {
2021-03-30 08:42:43 +00:00
pname = "tcp-cutter";
version = "1.04";
2014-05-20 10:37:20 +00:00
src = fetchurl {
2021-03-30 08:42:43 +00:00
url = "http://www.digitage.co.uk/digitage/files/cutter/${pname}-${version}.tgz";
2015-10-25 18:06:05 +00:00
sha256 = "100iy31a3njif6vh9gfsqrm14hac05rrflla275gd4rkxdlnqcqv";
2014-05-20 10:37:20 +00:00
};
installPhase = ''
install -D -m 0755 cutter $out/bin/tcp-cutter
'';
meta = with lib; {
2014-05-20 10:37:20 +00:00
description = "TCP/IP Connection cutting on Linux Firewalls and Routers";
homepage = "http://www.digitage.co.uk/digitage/software/linux-security/cutter";
2024-04-26 11:35:31 +00:00
license = licenses.gpl2Only;
2014-05-20 10:37:20 +00:00
platforms = platforms.linux;
maintainers = [ maintainers.offline ];
2024-02-11 02:19:15 +00:00
mainProgram = "tcp-cutter";
2014-05-20 10:37:20 +00:00
};
}