papi: init at 5.6.0 (#46619)

papi is a high resolution performance counter.
This commit is contained in:
Christopher Ostrouchov 2018-09-13 17:35:06 -04:00 committed by xeji
parent 04cba83e7f
commit 9ef31b2f96
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv
, fetchurl
}:
stdenv.mkDerivation rec {
version = "5.6.0";
name = "papi-${version}";
src = fetchurl {
url = "https://bitbucket.org/icl/papi/get/papi-5-6-0-t.tar.gz";
sha256 = "13mngf9kl0y2wfxqvkad0smdaag7k8fvw82b4312gx62nwhc1i6r";
};
buildInputs = [ stdenv ];
preConfigure = ''
cd src
'';
doCheck = true;
checkTarget = "test";
meta = with stdenv.lib; {
homepage = https://icl.utk.edu/papi/;
description = "PAPI provides the tool designer and application engineer with a consistent interface and methodology for use of the performance counter hardware found in most major microprocessors";
license = licenses.bsdOriginal;
platforms = platforms.linux;
maintainers = [ maintainers.costrouc ];
};
}

View file

@ -20619,6 +20619,10 @@ with pkgs;
tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+
tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT
### SCIENCE/BENCHMARK
papi = callPackage ../development/libraries/science/benchmark/papi { };
### SCIENCE/BIOLOGY
alliance = callPackage ../applications/science/electronics/alliance { };