diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-18 11:45:53 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-03-18 11:45:53 +0000 |
commit | a544da22fcccecfe1ba888004a15ce3454eee464 (patch) | |
tree | e9ecdb07c9357b67b431942b20d8ea9070211e43 /pkgs/os-specific/linux/latencytop | |
parent | b4955eea6529233083d6dbbed4417f2b40dd0365 (diff) | |
download | nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar.gz nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar.bz2 nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar.lz nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar.xz nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.tar.zst nixpkgs-a544da22fcccecfe1ba888004a15ce3454eee464.zip |
Adding latencytop.
svn path=/nixpkgs/trunk/; revision=33233
Diffstat (limited to 'pkgs/os-specific/linux/latencytop')
-rw-r--r-- | pkgs/os-specific/linux/latencytop/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/latencytop/default.nix b/pkgs/os-specific/linux/latencytop/default.nix new file mode 100644 index 00000000000..d5c857cf4c9 --- /dev/null +++ b/pkgs/os-specific/linux/latencytop/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchurl, ncurses, glib, pkgconfig, gtk }: + +stdenv.mkDerivation rec { + name = "latencytop-0.5"; + + patchPhase = "sed -i s,/usr,$out, Makefile"; + preInstall = "mkdir -p $out/sbin"; + + src = fetchurl { + urls = [ "http://latencytop.org/download/${name}.tar.gz" + "http://dbg.download.sourcemage.org/mirror/latencytop-0.5.tar.gz" ]; + sha256 = "1vq3j9zdab6njly2wp900b3d5244mnxfm88j2bkiinbvxbxp4zwy"; + }; + + buildInputs = [ ncurses glib pkgconfig gtk ]; + + meta = { + homepage = http://latencytop.org; + description = "Tool to show kernel reports on latencies (LATENCYTOP option)"; + licence = "GPLv2"; + maintainers = [ stdenv.lib.maintainers.viric ]; + platforms = stdenv.lib.platforms.linux; + }; +} |