d7bddc27b2
One should depend on - `stdenv.cc.bintools`: for executables at build time - `libbfd` or `libiberty`: for those libraries - `targetPackages.cc.bintools`: for exectuables at *run* time - `binutils`: only for specifically GNU Binutils's executables, regardless of the host platform, at run time.
32 lines
887 B
Nix
32 lines
887 B
Nix
{ stdenv
|
|
, fetchurl, pkgconfig
|
|
, gtk2, glib, pango, libglade
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "sysprof-1.2.0";
|
|
|
|
src = fetchurl {
|
|
url = "http://www.sysprof.com/sysprof-1.2.0.tar.gz";
|
|
sha256 = "1wb4d844rsy8qjg3z5m6rnfm72da4xwzrrkkb1q5r10sq1pkrw5s";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ gtk2 glib pango libglade ];
|
|
|
|
meta = {
|
|
homepage = http://sysprof.com/;
|
|
description = "System-wide profiler for Linux";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
longDescription = ''
|
|
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
|
|
application. Sysprof handles shared libraries and applications
|
|
do not need to be recompiled. In fact they don't even have to
|
|
be restarted.
|
|
'';
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|