git.iko.soy/typeable/nixpkgs
on master help sign in
papi: init at 5.6.0 (#46619)

papi is a high resolution performance counter.

commit9ef31b2f96eeae83f8689a0f3459caeb3bc51a8f authorChristopher Ostrouchov <chris.ostrouchov@gmail.com> dateThu 13 Sep 2018, 17:35 (8 years ago) parent04cba83
2 files changed+34
pkgs/development/libraries/science/benchmark/papi/default.nix+30 pkgs/top-level/all-packages.nix+4
pkgs/development/libraries/science/benchmark/papi/default.nixnew file+30
@@ -0,0 +1,30 @@
1+{ stdenv
2+, fetchurl
3+}:
4+
5+stdenv.mkDerivation rec {
6+ version = "5.6.0";
7+ name = "papi-${version}";
8+
9+ src = fetchurl {
10+ url = "https://bitbucket.org/icl/papi/get/papi-5-6-0-t.tar.gz";
11+ sha256 = "13mngf9kl0y2wfxqvkad0smdaag7k8fvw82b4312gx62nwhc1i6r";
12+ };
13+
14+ buildInputs = [ stdenv ];
15+
16+ preConfigure = ''
17+ cd src
18+ '';
19+
20+ doCheck = true;
21+ checkTarget = "test";
22+
23+ meta = with stdenv.lib; {
24+ homepage = https://icl.utk.edu/papi/;
25+ 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";
26+ license = licenses.bsdOriginal;
27+ platforms = platforms.linux;
28+ maintainers = [ maintainers.costrouc ];
29+ };
30+}
pkgs/top-level/all-packages.nix+4
@@ -20619,6 +20619,10 @@ with pkgs;
2061920619 tetgen = callPackage ../applications/science/geometry/tetgen { }; # AGPL3+
2062020620 tetgen_1_4 = callPackage ../applications/science/geometry/tetgen/1.4.nix { }; # MIT
2062120621
20622+ ### SCIENCE/BENCHMARK
20623+
20624+ papi = callPackage ../development/libraries/science/benchmark/papi { };
20625+
2062220626 ### SCIENCE/BIOLOGY
2062320627
2062420628 alliance = callPackage ../applications/science/electronics/alliance { };