Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-18.03 31 lines 887 B view raw
1{ stdenv 2, fetchurl, pkgconfig 3, gtk2, glib, pango, libglade 4}: 5 6stdenv.mkDerivation rec { 7 name = "sysprof-1.2.0"; 8 9 src = fetchurl { 10 url = "http://www.sysprof.com/sysprof-1.2.0.tar.gz"; 11 sha256 = "1wb4d844rsy8qjg3z5m6rnfm72da4xwzrrkkb1q5r10sq1pkrw5s"; 12 }; 13 14 nativeBuildInputs = [ pkgconfig ]; 15 buildInputs = [ gtk2 glib pango libglade ]; 16 17 meta = { 18 homepage = http://sysprof.com/; 19 description = "System-wide profiler for Linux"; 20 license = stdenv.lib.licenses.gpl2Plus; 21 22 longDescription = '' 23 Sysprof is a sampling CPU profiler for Linux that uses the perf_event_open 24 system call to profile the entire system, not just a single 25 application. Sysprof handles shared libraries and applications 26 do not need to be recompiled. In fact they don't even have to 27 be restarted. 28 ''; 29 platforms = stdenv.lib.platforms.linux; 30 }; 31}