diff options
author | Will Dietz <w@wdtz.org> | 2019-09-14 16:54:15 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-09-16 12:07:37 -0500 |
commit | a5460536647fdb421d89f87a23724893426004f6 (patch) | |
tree | 2f98cf2fcefcde51bbd5c821dcf3048bee9b9635 /pkgs/os-specific/linux/cpustat/default.nix | |
parent | 2ff3620d0dcd8dbb61d14cafba01f4ca47acd8bb (diff) | |
download | nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar.gz nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar.bz2 nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar.lz nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar.xz nixpkgs-a5460536647fdb421d89f87a23724893426004f6.tar.zst nixpkgs-a5460536647fdb421d89f87a23724893426004f6.zip |
cpustat: init at 0.02.09
Diffstat (limited to 'pkgs/os-specific/linux/cpustat/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/cpustat/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/cpustat/default.nix b/pkgs/os-specific/linux/cpustat/default.nix new file mode 100644 index 00000000000..8c0d206a8d1 --- /dev/null +++ b/pkgs/os-specific/linux/cpustat/default.nix @@ -0,0 +1,22 @@ +{ 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 ]; + }; +} |