mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
37 lines
1.1 KiB
Nix
37 lines
1.1 KiB
Nix
|
{ stdenv, fetchFromGitHub, pkgconfig, libpcap, guile, openssl }:
|
||
|
|
||
|
stdenv.mkDerivation rec {
|
||
|
pname = "junkie";
|
||
|
version = "2.8.0";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "rixed";
|
||
|
repo = "junkie";
|
||
|
rev = "v${version}";
|
||
|
sha256 = "c9b57bd6e06d4f90e6a88b775f33fa00f66313ba0f663df70198eddf1d4be298";
|
||
|
};
|
||
|
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";
|
||
|
license = stdenv.lib.licenses.agpl3Plus;
|
||
|
maintainers = [ stdenv.lib.maintainers.rixed ];
|
||
|
platforms = stdenv.lib.platforms.unix;
|
||
|
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...
|
||
|
'';
|
||
|
};
|
||
|
}
|