about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/hpx/default.nix
blob: bcaf1233d30060fd8c58cbad684fa6b8ba5ae67e (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
31
32
33
34
35
36
37
38
{ lib
, stdenv
, fetchFromGitHub
, asio
, boost
, cmake
, hwloc
, gperftools
, ninja
, pkg-config
, python3
}:

stdenv.mkDerivation rec {
  pname = "hpx";
  version = "1.9.1";

  src = fetchFromGitHub {
    owner = "STEllAR-GROUP";
    repo = "hpx";
    rev = "v${version}";
    hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
  };

  propagatedBuildInputs = [ hwloc ];
  buildInputs = [ asio boost gperftools ];
  nativeBuildInputs = [ cmake pkg-config python3 ];

  strictDeps = true;

  meta = {
    description = "C++ standard library for concurrency and parallelism";
    homepage = "https://github.com/STEllAR-GROUP/hpx";
    license = lib.licenses.boost;
    platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
    maintainers = with lib.maintainers; [ bobakker ];
  };
}