about summary refs log tree commit diff
path: root/pkgs/by-name/pq/pqos-wrapper/package.nix
blob: d0235fedc3a71677bf7ccf4a723736366622d722 (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
{ lib
, intel-cmt-cat
, fetchFromGitLab
, python3
}:
python3.pkgs.buildPythonApplication rec {
  pname = "pqos-wrapper";
  version = "unstable-2022-01-31";

  src = fetchFromGitLab {
    group = "sosy-lab";
    owner = "software";
    repo = pname;
    rev = "ce816497a07dcb4b931652b98359e4601a292b15";
    hash = "sha256-SaYr6lVucpJjVtGgxRbDGYbOoBwdfEDVKtvD+M1L0o4=";
  };

  makeWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ intel-cmt-cat ]}" ];

  meta = with lib; {
    description = "Wrapper for Intel PQoS for the purpose of using it in BenchExec";
    homepage = "https://gitlab.com/sosy-lab/software/pqos-wrapper";
    maintainers = with maintainers; [ lorenzleutgeb ];
    license = licenses.asl20;
    platforms = [ "x86_64-linux" ];
    mainProgram = "pqos_wrapper";
  };
}