blob: 96c0ee99f1abf5ae1adde0582eea6aada2ed3a2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
lib,
stdenv,
fetchurl,
}:
stdenv.mkDerivation (finalAttrs: {
version = "7.2.0";
pname = "papi";
src = fetchurl {
url = "https://icl.utk.edu/projects/papi/downloads/papi-${finalAttrs.version}.tar.gz";
sha256 = "sha256-qb/4nM85kV1yngiuCgxqcc4Ou+mEEemi6zyDyNsK85w=";
};
setSourceRoot = ''
sourceRoot=$(echo */src)
'';
doCheck = true;
checkTarget = "test";
meta = {
homepage = "https://icl.utk.edu/papi/";
description = "Library providing access to various hardware performance counters";
license = lib.licenses.bsdOriginal;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [
costrouc
zhaofengli
];
};
})
|