2021-01-15 09:19:50 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, pkgconfig, libpcap, guile, openssl }:
|
2018-12-21 10:37:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "junkie";
|
|
|
|
version = "2.8.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rixed";
|
|
|
|
repo = "junkie";
|
|
|
|
rev = "v${version}";
|
2019-03-16 02:16:45 +00:00
|
|
|
sha256 = "0kfdjgch667gfb3qpiadd2dj3fxc7r19nr620gffb1ahca02wq31";
|
2018-12-21 10:37:20 +00:00
|
|
|
};
|
|
|
|
buildInputs = [ libpcap guile openssl ];
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
configureFlags = [
|
|
|
|
"GUILELIBDIR=\${out}/share/guile/site"
|
|
|
|
"GUILECACHEDIR=\${out}/lib/guile/ccache"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Deep packet inspection swiss-army knife";
|
|
|
|
homepage = "https://github.com/rixed/junkie";
|
2021-01-15 09:19:50 +00:00
|
|
|
license = lib.licenses.agpl3Plus;
|
|
|
|
maintainers = [ lib.maintainers.rixed ];
|
|
|
|
platforms = lib.platforms.unix;
|
2018-12-21 10:37:20 +00:00
|
|
|
longDescription = ''
|
|
|
|
Junkie is a network sniffer like Tcpdump or Wireshark, but designed to
|
|
|
|
be easy to program and extend.
|
|
|
|
|
|
|
|
It comes with several command line tools to demonstrate this:
|
|
|
|
- a packet dumper;
|
|
|
|
- a nettop tool;
|
|
|
|
- a tool listing TLS certificates...
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|