forked from mirrors/nixpkgs
cpustat: newlines between (most) attributes
Exception is made for pname/version as is convention.
This commit is contained in:
parent
a546053664
commit
d0c6414938
|
@ -3,15 +3,19 @@
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "cpustat";
|
pname = "cpustat";
|
||||||
version = "0.02.09";
|
version = "0.02.09";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y";
|
sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ ncurses ];
|
||||||
|
|
||||||
installFlags = [
|
installFlags = [
|
||||||
"BINDIR=${placeholder "out"}/bin"
|
"BINDIR=${placeholder "out"}/bin"
|
||||||
"MANDIR=${placeholder "out"}/share/man/man8"
|
"MANDIR=${placeholder "out"}/share/man/man8"
|
||||||
];
|
];
|
||||||
|
|
||||||
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://kernel.ubuntu.com/~cking/cpustat/";
|
||||||
|
|
Loading…
Reference in a new issue