mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
Merge pull request #126697 from arezvov/iotop-c
This commit is contained in:
commit
7a7c7de4e3
@ -790,6 +790,12 @@
|
|||||||
githubId = 718812;
|
githubId = 718812;
|
||||||
name = "Antoine R. Dumont";
|
name = "Antoine R. Dumont";
|
||||||
};
|
};
|
||||||
|
arezvov = {
|
||||||
|
email = "alex@rezvov.ru";
|
||||||
|
github = "arezvov";
|
||||||
|
githubId = 58516559;
|
||||||
|
name = "Alexander Rezvov";
|
||||||
|
};
|
||||||
arianvp = {
|
arianvp = {
|
||||||
email = "arian.vanputten@gmail.com";
|
email = "arian.vanputten@gmail.com";
|
||||||
github = "arianvp";
|
github = "arianvp";
|
||||||
|
31
pkgs/os-specific/linux/iotop-c/default.nix
Normal file
31
pkgs/os-specific/linux/iotop-c/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{stdenv, fetchFromGitHub, lib, ncurses, pkg-config }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "iotop-c";
|
||||||
|
version = "1.17";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "Tomas-M";
|
||||||
|
repo = "iotop";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0hjy30155c3nijx3jgyn5kpj293632p0j6f3lf5acdfax1ynav86";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
makeFlags = [ "DESTDIR=$(out)" "TARGET=iotop-c" ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
mv $out/usr/share/man/man8/{iotop,iotop-c}.8
|
||||||
|
ln -s $out/usr/sbin $out/bin
|
||||||
|
ln -s $out/usr/share $out/share
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "iotop identifies processes that use high amount of input/output requests on your machine";
|
||||||
|
homepage = "https://github.com/Tomas-M/iotop";
|
||||||
|
maintainers = [ maintainers.arezvov ];
|
||||||
|
license = licenses.gpl2Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
};
|
||||||
|
}
|
@ -20429,6 +20429,7 @@ in
|
|||||||
iomelt = callPackage ../os-specific/linux/iomelt { };
|
iomelt = callPackage ../os-specific/linux/iomelt { };
|
||||||
|
|
||||||
iotop = callPackage ../os-specific/linux/iotop { };
|
iotop = callPackage ../os-specific/linux/iotop { };
|
||||||
|
iotop-c = callPackage ../os-specific/linux/iotop-c { };
|
||||||
|
|
||||||
iproute2 = callPackage ../os-specific/linux/iproute { };
|
iproute2 = callPackage ../os-specific/linux/iproute { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user