3a2ffc7368
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/libpfm/versions. These checks were done: - built on NixOS - 0 of 0 passed binary check by having a zero exit code. - 0 of 0 passed binary check by having the new version present in output. - directory tree listing: https://gist.github.com/18a96cac8552cdaa20b1dc95f0a5dd0d - du listing: https://gist.github.com/b27b79dfd650b016fa859607d16859d9
26 lines
818 B
Nix
26 lines
818 B
Nix
{ stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "4.10.0";
|
|
name = "libpfm-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/perfmon2/libpfm4/${name}.tar.gz";
|
|
sha256 = "0bldxhcrpav04hi256fmf907gxhyck24j1p998v48zbhm6aykw94";
|
|
};
|
|
|
|
installFlags = "DESTDIR=\${out} PREFIX= LDCONFIG=true";
|
|
|
|
meta = with stdenv.lib; {
|
|
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.
|
|
'';
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.pierron ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|