eventstat: 0.04.12 -> 0.04.13

Upstream has moved to Github
(#151245)
main
Renaud 2 years ago committed by GitHub
parent 1bc07dc1dd
commit 0f2042888d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 26
      pkgs/os-specific/linux/eventstat/default.nix

@ -1,20 +1,26 @@
{ stdenv, lib, fetchzip, ncurses }:
{ stdenv, lib, fetchFromGitHub, ncurses }:
stdenv.mkDerivation rec {
pname = "eventstat";
version = "0.04.12";
src = fetchzip {
url = "https://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
sha256 = "sha256-XBSs/jZodCpI9BHgAF8+bE23gRCr2uebYiMJxxB8T5E=";
version = "0.04.13";
src = fetchFromGitHub {
owner = "ColinIanKing";
repo = pname;
rev = "V${version}";
hash = "sha256-psamt9omhakiO3Kx2EzofPL2VAsva7XKQTZmn6zKefA=";
};
buildInputs = [ ncurses ];
installFlags = [ "DESTDIR=$(out)" ];
postInstall = ''
mv $out/usr/* $out
rm -r $out/usr
'';
installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
];
meta = with lib; {
description = "Simple monitoring of system events";
homepage = "https://github.com/ColinIanKing/eventstat";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];

Loading…
Cancel
Save