nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 31 lines 666 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 ncurses, 6}: 7 8stdenv.mkDerivation (finalAttrs: { 9 pname = "netproc"; 10 version = "0.6.6"; 11 12 src = fetchFromGitHub { 13 owner = "berghetti"; 14 repo = "netproc"; 15 rev = finalAttrs.version; 16 hash = "sha256-OQWlFwCga33rTseLeO8rAd+pkLHbSNf3YI5OSwrdIyk="; 17 }; 18 19 buildInputs = [ ncurses ]; 20 21 installFlags = [ "prefix=$(out)" ]; 22 23 meta = { 24 description = "Tool to monitor network traffic based on processes"; 25 homepage = "https://github.com/berghetti/netproc"; 26 license = lib.licenses.gpl3; 27 mainProgram = "netproc"; 28 maintainers = [ lib.maintainers.azuwis ]; 29 platforms = lib.platforms.linux; 30 }; 31})