nixpkgs/pkgs/development/libraries/libpfm/default.nix

27 lines
817 B
Nix
Raw Normal View History

2014-05-26 01:25:28 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
2017-06-20 06:27:25 +02:00
version = "4.8.0";
2014-05-26 01:25:28 +02:00
name = "libpfm-${version}";
src = fetchurl {
url = "mirror://sourceforge/perfmon2/libpfm4/${name}.tar.gz";
2017-06-20 06:27:25 +02:00
sha256 = "0s6gcvrhj2h928cqc8399189annif7yl74k6wda446r0fdx7i4wi";
2014-05-26 01:25:28 +02:00
};
installFlags = "DESTDIR=\${out} PREFIX= LDCONFIG=true";
2015-05-30 15:14:10 +02:00
meta = with stdenv.lib; {
2014-05-26 01:25:28 +02:00
description = "Helper library to program the performance monitoring events";
longDescription = ''
This package provides a library, called libpfm4 which is used to
develop monitoring tools exploiting the performance monitoring
events such as those provided by the Performance Monitoring Unit
(PMU) of modern processors.
'';
2015-05-30 15:14:10 +02:00
license = licenses.gpl2;
maintainers = [ maintainers.pierron ];
platforms = platforms.all;
2014-05-26 01:25:28 +02:00
};
2015-05-30 15:14:10 +02:00
}