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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

60 lines
1.0 KiB
Nix
Raw Normal View History

2023-01-08 09:20:06 +00:00
{ lib
, stdenv
2020-12-29 09:12:18 +00:00
, autoreconfHook
, cairo
2023-01-08 09:20:06 +00:00
, fetchFromGitHub
2020-12-29 09:12:18 +00:00
, giflib
, glib
, gtk2-x11
, libjpeg
, libpcap
, libpng
, libuv
2023-01-08 09:20:06 +00:00
, libwebsockets
2023-01-08 09:24:22 +00:00
, libwebp
2020-12-29 09:12:18 +00:00
, openssl
2023-01-08 09:20:06 +00:00
, pkg-config
2020-12-29 09:12:18 +00:00
}:
2015-07-07 09:52:23 +00:00
2020-12-29 09:12:18 +00:00
stdenv.mkDerivation rec {
pname = "driftnet";
2023-01-08 09:24:22 +00:00
version = "1.4.0";
2015-07-07 09:52:23 +00:00
src = fetchFromGitHub {
owner = "deiv";
repo = "driftnet";
2023-01-08 09:20:06 +00:00
rev = "refs/tags/v${version}";
2023-01-08 09:24:22 +00:00
hash = "sha256-szmezYnszlRanq8pMD0CIGA+zTYGSwSHcDaZ2Gx1KCA=";
2015-07-07 09:52:23 +00:00
};
2020-12-29 09:12:18 +00:00
enableParallelBuilding = true;
2023-01-08 09:20:06 +00:00
nativeBuildInputs = [
pkg-config
autoreconfHook
];
2020-12-29 09:12:18 +00:00
buildInputs = [
cairo
giflib
glib
gtk2-x11
libjpeg
libpcap
libpng
2023-01-08 09:20:06 +00:00
libuv
2020-12-29 09:12:18 +00:00
libwebsockets
2023-01-08 09:24:22 +00:00
libwebp
2020-12-29 09:12:18 +00:00
openssl
];
meta = with lib; {
description = "Watches network traffic, and picks out and displays JPEG and GIF images for display";
homepage = "https://github.com/deiv/driftnet";
2023-01-08 09:20:06 +00:00
changelog = "https://github.com/deiv/driftnet/releases/tag/v${version}";
license = licenses.gpl2Plus;
2015-07-07 09:52:23 +00:00
maintainers = with maintainers; [ offline ];
2020-12-29 09:12:18 +00:00
platforms = platforms.linux ++ platforms.darwin;
2015-07-07 09:52:23 +00:00
};
}