summary refs log tree commit diff
path: root/pkgs/os-specific/linux/eventstat/default.nix
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-09-29 15:44:51 -0400
committerCharles Strahan <charles.c.strahan@gmail.com>2015-09-29 15:45:09 -0400
commit597d19184472dcecf8a810fcd71eb19092380179 (patch)
treeb2ad00a60173caee1742ed862d0f15719d30e306 /pkgs/os-specific/linux/eventstat/default.nix
parente166298ed3a46c50a0c94c0b9ec339aedca9859d (diff)
downloadnixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar.gz
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar.bz2
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar.lz
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar.xz
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.tar.zst
nixpkgs-597d19184472dcecf8a810fcd71eb19092380179.zip
eventstat: init at 0.02.02
Diffstat (limited to 'pkgs/os-specific/linux/eventstat/default.nix')
-rw-r--r--pkgs/os-specific/linux/eventstat/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/eventstat/default.nix b/pkgs/os-specific/linux/eventstat/default.nix
new file mode 100644
index 00000000000..d6122202b82
--- /dev/null
+++ b/pkgs/os-specific/linux/eventstat/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, lib, fetchzip }:
+
+stdenv.mkDerivation rec {
+  name = "eventstat-${version}";
+  version = "0.02.02";
+  src = fetchzip {
+    url = "http://kernel.ubuntu.com/~cking/tarballs/eventstat/eventstat-${version}.tar.gz";
+    sha256 = "1l1shcj3c0pxv1g6sqc10ka1crbx0cm2gldxbyrzqv2lmlfnmm44";
+  };
+  installFlags = [ "DESTDIR=$(out)" ];
+  postInstall = ''
+    mv $out/usr/* $out
+    rm -r $out/usr
+  '';
+  meta = with lib; {
+    description = "Simple monitoring of system events";
+    license = licenses.gpl2;
+    platforms = platforms.linux;
+    maintainers = with maintainers; [ cstrahan ];
+  };
+}