cpustat: 0.02.09 -> 0.02.17
Upstream has moved to Github
This commit is contained in:
parent
6332928cc4
commit
99d859d4b5
|
@ -1,12 +1,14 @@
|
||||||
{ stdenv, lib, fetchurl, ncurses }:
|
{ stdenv, lib, fetchFromGitHub, ncurses }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cpustat";
|
pname = "cpustat";
|
||||||
version = "0.02.09";
|
version = "0.02.17";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
owner = "ColinIanKing";
|
||||||
sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y";
|
repo = pname;
|
||||||
|
rev = "V${version}";
|
||||||
|
hash = "sha256-4HDXRtklzQSsywCGCTKdz6AtZta9R1mx7qkT7skX6Kc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
@ -14,11 +16,12 @@ stdenv.mkDerivation rec {
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"BINDIR=${placeholder "out"}/bin"
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
"MANDIR=${placeholder "out"}/share/man/man8"
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||||
|
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "CPU usage monitoring tool";
|
description = "CPU usage monitoring tool";
|
||||||
homepage = "https://kernel.ubuntu.com/~cking/cpustat/";
|
homepage = "https://github.com/ColinIanKing/cpustat";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ dtzWill ];
|
maintainers = with maintainers; [ dtzWill ];
|
||||||
|
|
Loading…
Reference in a new issue