nixpkgs/pkgs/by-name/ne/netproc/package.nix

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

27 lines
655 B
Nix
Raw Normal View History

2022-03-16 05:21:19 +00:00
{ lib, stdenv, fetchFromGitHub, ncurses }:
stdenv.mkDerivation (finalAttrs: {
2022-03-16 05:21:19 +00:00
pname = "netproc";
version = "0.6.6";
2022-03-16 05:21:19 +00:00
src = fetchFromGitHub {
owner = "berghetti";
repo = "netproc";
rev = finalAttrs.version;
hash = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk=";
2022-03-16 05:21:19 +00:00
};
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";
2022-03-16 05:21:19 +00:00
maintainers = [ maintainers.azuwis ];
platforms = platforms.linux;
2022-03-16 05:21:19 +00:00
};
})