iotop-c: 1.27 -> 1.28 (#403726)

authored by Nick Cao and committed by GitHub a1e77d9f b6c8d06a

+7 -7
+7 -7
pkgs/by-name/io/iotop-c/package.nix
··· 8 8 9 9 stdenv.mkDerivation rec { 10 10 pname = "iotop-c"; 11 - version = "1.27"; 11 + version = "1.28"; 12 12 13 13 src = fetchFromGitHub { 14 14 owner = "Tomas-M"; 15 15 repo = "iotop"; 16 16 rev = "v${version}"; 17 - sha256 = "sha256-o8OJnZjrDbzzhwfzRWmyCmhBWxMVKRDeDWWBCXy3C90="; 17 + sha256 = "sha256-Cauy6q587M/VhMsr1vFlNaEJfteDJmNTjE81m0u+OBc="; 18 18 }; 19 19 20 20 nativeBuildInputs = [ pkg-config ]; 21 + 21 22 buildInputs = [ ncurses ]; 23 + 22 24 makeFlags = [ 23 - "DESTDIR=$(out)" 24 - "TARGET=iotop-c" 25 + "PREFIX=${placeholder "out"}" 26 + "BINDIR=${placeholder "out"}/bin" 25 27 ]; 26 28 27 29 postInstall = '' 28 - mv $out/usr/share/man/man8/{iotop,iotop-c}.8 29 - ln -s $out/usr/sbin $out/bin 30 - ln -s $out/usr/share $out/share 30 + mv $out/share/man/man8/{iotop,iotop-c}.8 31 31 ''; 32 32 33 33 meta = with lib; {