sockdump: init at unstable-2022-05-27

This commit is contained in:
Emery Hemingway 2022-06-05 09:10:32 -05:00 committed by ehmry
parent f135dc6e18
commit 0a3b5c8b82
2 changed files with 27 additions and 0 deletions

View 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 ];
};
}

View File

@ -10869,6 +10869,8 @@ with pkgs;
jdk = jdk11;
};
sockdump = callPackage ../tools/networking/sockdump { };
spglib = callPackage ../development/libraries/spglib {
inherit (llvmPackages) openmp;
};