2016-01-17 15:04:40 -08:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
|
2019-05-22 04:03:39 -07:00
|
|
|
, giflib, glib, gtk2, cairo, pango, gdk-pixbuf, atk
|
2016-01-17 15:04:40 -08:00
|
|
|
, pkgconfig, autoreconfHook }:
|
2015-07-07 02:52:23 -07:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
2019-08-13 14:52:01 -07:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "driftnet";
|
2017-03-01 17:55:11 -08:00
|
|
|
version = "1.1.5";
|
2015-07-07 02:52:23 -07:00
|
|
|
|
2017-09-14 12:24:37 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2016-01-17 15:04:40 -08:00
|
|
|
buildInputs = [
|
2017-09-14 12:24:37 -07:00
|
|
|
libpcap libjpeg libungif libpng giflib
|
2019-05-22 04:03:39 -07:00
|
|
|
glib gtk2 glib cairo pango gdk-pixbuf atk autoreconfHook
|
2016-01-17 15:04:40 -08:00
|
|
|
];
|
2015-07-07 02:52:23 -07:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deiv";
|
|
|
|
repo = "driftnet";
|
2017-03-01 17:55:11 -08:00
|
|
|
rev = "0ae4a91";
|
|
|
|
sha256 = "1sagpx0mw68ggvqd9c3crjhghqmj7391mf2cb6cjw1cpd2hcddsj";
|
2015-07-07 02:52:23 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2016-02-27 09:24:00 -08:00
|
|
|
description = "Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/deiv/driftnet";
|
2015-07-07 02:52:23 -07:00
|
|
|
maintainers = with maintainers; [ offline ];
|
2015-11-17 12:29:29 -08:00
|
|
|
platforms = platforms.linux;
|
2018-09-10 12:22:10 -07:00
|
|
|
license = licenses.gpl2;
|
2015-07-07 02:52:23 -07:00
|
|
|
};
|
|
|
|
}
|