2012-12-27 00:44:31 +00:00
|
|
|
{ fetchurl, stdenv, binutils
|
2016-09-11 22:24:51 +01:00
|
|
|
, pkgconfig, gtk2, glib, pango, libglade }:
|
2008-06-07 15:02:17 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-12-27 00:44:31 +00:00
|
|
|
name = "sysprof-1.2.0";
|
2008-06-07 15:02:17 +01: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 15:02:17 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ binutils gtk2 glib pango libglade ];
|
2008-06-07 15:02:17 +01:00
|
|
|
|
|
|
|
meta = {
|
2012-12-27 00:44:31 +00:00
|
|
|
homepage = http://sysprof.com/;
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "System-wide profiler for Linux";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2008-06-07 15:02:17 +01: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 15:02:17 +01: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 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2008-06-07 15:02:17 +01:00
|
|
|
};
|
2010-05-27 20:34:08 +01:00
|
|
|
}
|