sockdump: init at unstable-2022-05-27
This commit is contained in:
parent
f135dc6e18
commit
0a3b5c8b82
25
pkgs/tools/networking/sockdump/default.nix
Normal file
25
pkgs/tools/networking/sockdump/default.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, fetchFromGitHub, python3, bcc }:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "sockdump";
|
||||
version = "unstable-2022-05-27";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mechpen";
|
||||
repo = pname;
|
||||
rev = "4bb689933f253d4f58c8bb81b992cc883068e873";
|
||||
hash = "sha256-B2ob4k29kgPA4JMtwr0Ma7vQeDRHL/vTFAJxhdS8ShA=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ bcc ];
|
||||
|
||||
format = "other"; # none
|
||||
|
||||
installPhase = "install -D ${pname}.py $out/bin/${pname}";
|
||||
|
||||
meta = src.meta // {
|
||||
description = "Dump unix domain socket traffic with bpf";
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ ehmry ];
|
||||
};
|
||||
}
|
@ -10869,6 +10869,8 @@ with pkgs;
|
||||
jdk = jdk11;
|
||||
};
|
||||
|
||||
sockdump = callPackage ../tools/networking/sockdump { };
|
||||
|
||||
spglib = callPackage ../development/libraries/spglib {
|
||||
inherit (llvmPackages) openmp;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user