lol

cpustat: 0.02.09 -> 0.02.17

Upstream has moved to Github

authored by

Renaud and committed by
GitHub
99d859d4 6332928c

+9 -6
+9 -6
pkgs/os-specific/linux/cpustat/default.nix
··· 1 - { stdenv, lib, fetchurl, ncurses }: 1 + { stdenv, lib, fetchFromGitHub, ncurses }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "cpustat"; 5 - version = "0.02.09"; 5 + version = "0.02.17"; 6 6 7 - src = fetchurl { 8 - url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.xz"; 9 - sha256 = "12xahv65yrhs5r830clkl1qnwg3dnrk5qn3zsznzbv1iy2f3cj7y"; 7 + src = fetchFromGitHub { 8 + owner = "ColinIanKing"; 9 + repo = pname; 10 + rev = "V${version}"; 11 + hash = "sha256-4HDXRtklzQSsywCGCTKdz6AtZta9R1mx7qkT7skX6Kc="; 10 12 }; 11 13 12 14 buildInputs = [ ncurses ]; ··· 14 16 installFlags = [ 15 17 "BINDIR=${placeholder "out"}/bin" 16 18 "MANDIR=${placeholder "out"}/share/man/man8" 19 + "BASHDIR=${placeholder "out"}/share/bash-completion/completions" 17 20 ]; 18 21 19 22 meta = with lib; { 20 23 description = "CPU usage monitoring tool"; 21 - homepage = "https://kernel.ubuntu.com/~cking/cpustat/"; 24 + homepage = "https://github.com/ColinIanKing/cpustat"; 22 25 license = licenses.gpl2; 23 26 platforms = platforms.linux; 24 27 maintainers = with maintainers; [ dtzWill ];