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