Merge pull request #151242 from c0bw3b/pkg/cpustat
cpustat: 0.02.09 -> 0.02.17
This commit is contained in:
commit
5c7a1bd78d
1 changed files with 9 additions and 6 deletions
|
@ -1,12 +1,14 @@
|
|||
{ stdenv, lib, fetchurl, ncurses }:
|
||||
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpustat";
|
||||
version = "0.02.09";
|
||||
version = "0.02.17";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
||||
sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y";
|
||||
src = fetchFromGitHub {
|
||||
owner = "ColinIanKing";
|
||||
repo = pname;
|
||||
rev = "V${version}";
|
||||
hash = "sha256-4HDXRtklzQSsywCGCTKdz6AtZta9R1mx7qkT7skX6Kc=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses ];
|
||||
|
@ -14,11 +16,12 @@ stdenv.mkDerivation rec {
|
|||
installFlags = [
|
||||
"BINDIR=${placeholder "out"}/bin"
|
||||
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "CPU usage monitoring tool";
|
||||
homepage = "https://kernel.ubuntu.com/~cking/cpustat/";
|
||||
homepage = "https://github.com/ColinIanKing/cpustat";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ dtzWill ];
|
||||
|
|
Loading…
Reference in a new issue