Skip to content

Commit

Permalink
Merge pull request #138637 from fabaff/license-sngrep
Browse files Browse the repository at this point in the history
sngrep: specify license, format
  • Loading branch information
bobby285271 authored Sep 21, 2021
2 parents 3320129 + 94c03a0 commit 8617d45
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions pkgs/applications/networking/sniffers/sngrep/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
{ lib, stdenv, autoconf, automake, fetchFromGitHub, libpcap, ncurses, openssl, pcre }:
{ lib
, stdenv
, autoconf
, automake
, fetchFromGitHub
, libpcap
, ncurses
, openssl
, pcre
}:

stdenv.mkDerivation rec {
pname = "sngrep";
Expand All @@ -11,12 +20,17 @@ stdenv.mkDerivation rec {
sha256 = "sha256-92wPRDFSoIOYFv3XKdsuYH8j3D8kXyg++q6VpIIMGDg=";
};

buildInputs = [
libpcap ncurses pcre openssl ncurses
nativeBuildInputs = [
autoconf
automake
];

nativeBuildInputs = [
autoconf automake
buildInputs = [
libpcap
ncurses
ncurses
openssl
pcre
];

configureFlags = [
Expand All @@ -26,12 +40,14 @@ stdenv.mkDerivation rec {
"--enable-eep"
];

preConfigure = "./bootstrap.sh";
preConfigure = ''
./bootstrap.sh
'';

meta = with lib; {
description = "A tool for displaying SIP calls message flows from terminal";
homepage = "https://github.com/irontec/sngrep";
license = licenses.gpl3;
license = licenses.gpl3Plus;
platforms = platforms.unix;
maintainers = with maintainers; [ jorise ];
};
Expand Down

0 comments on commit 8617d45

Please sign in to comment.