forked from mirrors/nixpkgs
Merge pull request #68917 from dtzWill/feature/cpustat
cpustat: init at 0.02.09
This commit is contained in:
commit
bd387439ea
26
pkgs/os-specific/linux/cpustat/default.nix
Normal file
26
pkgs/os-specific/linux/cpustat/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, lib, fetchurl, ncurses }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "cpustat";
|
||||||
|
version = "0.02.09";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
||||||
|
sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
|
installFlags = [
|
||||||
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "CPU usage monitoring tool";
|
||||||
|
homepage = "https://kernel.ubuntu.com/~cking/cpustat/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -15413,6 +15413,8 @@ in
|
||||||
|
|
||||||
cifs-utils = callPackage ../os-specific/linux/cifs-utils { };
|
cifs-utils = callPackage ../os-specific/linux/cifs-utils { };
|
||||||
|
|
||||||
|
cpustat = callPackage ../os-specific/linux/cpustat { };
|
||||||
|
|
||||||
cockroachdb = callPackage ../servers/sql/cockroachdb { };
|
cockroachdb = callPackage ../servers/sql/cockroachdb { };
|
||||||
|
|
||||||
conky = callPackage ../os-specific/linux/conky ({
|
conky = callPackage ../os-specific/linux/conky ({
|
||||||
|
|
Loading…
Reference in a new issue