Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
699 B
Nix
34 lines
699 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
version = "7.2.0";
|
|
pname = "papi";
|
|
|
|
src = fetchurl {
|
|
url = "http://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 = with lib; {
|
|
homepage = "https://icl.utk.edu/papi/";
|
|
description = "Library providing access to various hardware performance counters";
|
|
license = licenses.bsdOriginal;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [
|
|
costrouc
|
|
zhaofengli
|
|
];
|
|
};
|
|
})
|