summary refs log tree commit diff
path: root/pkgs/development/libraries/science/benchmark/papi/default.nix
blob: 53d30019f28d4e8ae41c2096b4e565d6ea493c05 (plain) (blame)
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
{ stdenv
, fetchurl
}:

stdenv.mkDerivation {
  version = "5.6.0";
  pname = "papi";

  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 ];
  };
}