Merge pull request #299351 from r-ryantm/auto-update/cpustat
cpustat: 0.02.19 -> 0.02.20
This commit is contained in:
commit
28c363bf3b
1 changed files with 14 additions and 8 deletions
|
@ -1,17 +1,23 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, ncurses
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cpustat";
|
pname = "cpustat";
|
||||||
version = "0.02.19";
|
version = "0.02.20";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "ColinIanKing";
|
owner = "ColinIanKing";
|
||||||
repo = pname;
|
repo ="cpustat";
|
||||||
rev = "V${version}";
|
rev = "refs/tags/V${version}";
|
||||||
hash = "sha256-MujdgA+rFLrRc/N9yN7udnarA1TCzX//95hoXTUHG8Q=";
|
hash = "sha256-cdHoo2esm772q782kb7mwRwlPXGDNNLHJRbd2si5g7k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [
|
||||||
|
ncurses
|
||||||
|
];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"BINDIR=${placeholder "out"}/bin"
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
|
@ -21,10 +27,10 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CPU usage monitoring tool";
|
description = "CPU usage monitoring tool";
|
||||||
mainProgram = "cpustat";
|
|
||||||
homepage = "https://github.com/ColinIanKing/cpustat";
|
homepage = "https://github.com/ColinIanKing/cpustat";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
mainProgram = "cpustat";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue