cpustat: 0.02.09 -> 0.02.17

Upstream has moved to Github
main
Renaud 2 years ago committed by GitHub
parent 6332928cc4
commit 99d859d4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      pkgs/os-specific/linux/cpustat/default.nix

@ -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…
Cancel
Save