2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
27 lines
655 B
Nix
27 lines
655 B
Nix
{ lib, stdenv, fetchFromGitHub, ncurses }:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "netproc";
|
|
version = "0.6.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "berghetti";
|
|
repo = "netproc";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk=";
|
|
};
|
|
|
|
buildInputs = [ ncurses ];
|
|
|
|
installFlags = [ "prefix=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to monitor network traffic based on processes";
|
|
homepage = "https://github.com/berghetti/netproc";
|
|
license = licenses.gpl3;
|
|
mainProgram = "netproc";
|
|
maintainers = [ maintainers.azuwis ];
|
|
platforms = platforms.linux;
|
|
};
|
|
})
|