depot/third_party/nixpkgs/pkgs/tools/networking/driftnet/default.nix
Default email a4fd2de975 Project import generated by Copybara.
GitOrigin-RevId: 34ad166a830d3ac1541dcce571c52231f2f0865a
2020-11-02 21:18:15 -05:00

31 lines
844 B
Nix

{ stdenv, lib, fetchFromGitHub, libpcap, libjpeg , libungif, libpng
, giflib, glib, gtk2, cairo, pango, gdk-pixbuf, atk
, pkgconfig, autoreconfHook }:
with lib;
stdenv.mkDerivation {
pname = "driftnet";
version = "1.1.5";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
libpcap libjpeg libungif libpng giflib
glib gtk2 glib cairo pango gdk-pixbuf atk autoreconfHook
];
src = fetchFromGitHub {
owner = "deiv";
repo = "driftnet";
rev = "0ae4a91";
sha256 = "1sagpx0mw68ggvqd9c3crjhghqmj7391mf2cb6cjw1cpd2hcddsj";
};
meta = {
description = "Watches network traffic, and picks out and displays JPEG and GIF images for display";
homepage = "https://github.com/deiv/driftnet";
maintainers = with maintainers; [ offline ];
platforms = platforms.linux;
license = licenses.gpl2;
};
}