2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
|
|
|
|
, giflib, glib, gtk2, cairo, pango, gdk_pixbuf, atk
|
|
|
|
, pkgconfig, autoreconfHook }:
|
2015-07-07 11:52:23 +02:00
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "driftnet-${stdenv.lib.strings.substring 0 7 rev}";
|
|
|
|
rev = "8d47fd563a06122d4a6f9b9b9d27ba3d635148c0";
|
|
|
|
|
2016-01-18 00:04:40 +01:00
|
|
|
buildInputs = [
|
|
|
|
pkgconfig libpcap libjpeg libungif libpng giflib
|
|
|
|
glib gtk2 glib cairo pango gdk_pixbuf atk autoreconfHook
|
|
|
|
];
|
2015-07-07 11:52:23 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
inherit rev;
|
|
|
|
owner = "deiv";
|
|
|
|
repo = "driftnet";
|
|
|
|
sha256 = "1i9fqbsfrhvr36r17v3ydr1bqsszns8gyjbvlfqbdd4l5l5n6amg";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
2016-02-27 18:24:00 +01:00
|
|
|
description = "Driftnet watches network traffic, and picks out and displays JPEG and GIF images for display";
|
2015-07-07 11:52:23 +02:00
|
|
|
homepage = https://github.com/deiv/driftnet;
|
|
|
|
maintainers = with maintainers; [ offline ];
|
2015-11-17 21:29:29 +01:00
|
|
|
platforms = platforms.linux;
|
2015-07-07 11:52:23 +02:00
|
|
|
};
|
|
|
|
}
|