nixpkgs/pkgs/tools/networking/driftnet/default.nix

31 lines
836 B
Nix
Raw Normal View History

{ 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 {
2017-03-02 02:55:11 +01:00
name = "driftnet-${version}";
version = "1.1.5";
2015-07-07 11:52:23 +02:00
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libpcap libjpeg libungif libpng giflib
glib gtk2 glib cairo pango gdk_pixbuf atk autoreconfHook
];
2015-07-07 11:52:23 +02:00
src = fetchFromGitHub {
owner = "deiv";
repo = "driftnet";
2017-03-02 02:55:11 +01:00
rev = "0ae4a91";
sha256 = "1sagpx0mw68ggvqd9c3crjhghqmj7391mf2cb6cjw1cpd2hcddsj";
2015-07-07 11:52:23 +02:00
};
meta = {
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 ];
platforms = platforms.linux;
2015-07-07 11:52:23 +02:00
};
}