2012-12-27 00:44:31 +00:00
|
|
|
{ fetchurl, stdenv, binutils
|
2016-09-11 21:24:51 +00:00
|
|
|
, pkgconfig, gtk2, glib, pango, libglade }:
|
2008-06-07 14:02:17 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-12-27 00:44:31 +00:00
|
|
|
name = "sysprof-1.2.0";
|
2008-06-07 14:02:17 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-12-27 00:44:31 +00:00
|
|
|
url = "http://www.sysprof.com/sysprof-1.2.0.tar.gz";
|
|
|
|
sha256 = "1wb4d844rsy8qjg3z5m6rnfm72da4xwzrrkkb1q5r10sq1pkrw5s";
|
2008-06-07 14:02:17 +00:00
|
|
|
};
|
|
|
|
|
2017-09-05 21:26:13 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ binutils gtk2 glib pango libglade ];
|
2008-06-07 14:02:17 +00:00
|
|
|
|
|
|
|
meta = {
|
2012-12-27 00:44:31 +00:00
|
|
|
homepage = http://sysprof.com/;
|
2014-08-24 14:21:08 +00:00
|
|
|
description = "System-wide profiler for Linux";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2008-06-07 14:02:17 +00:00
|
|
|
|
|
|
|
longDescription = ''
|
2012-12-27 00:44:31 +00:00
|
|
|
Sysprof is a sampling CPU profiler for Linux that uses the perf_event_open
|
|
|
|
system call to profile the entire system, not just a single
|
2008-06-07 14:02:17 +00:00
|
|
|
application. Sysprof handles shared libraries and applications
|
|
|
|
do not need to be recompiled. In fact they don't even have to
|
|
|
|
be restarted.
|
|
|
|
'';
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-06-07 14:02:17 +00:00
|
|
|
};
|
2010-05-27 19:34:08 +00:00
|
|
|
}
|