1{ lib
2, stdenv
3, fetchFromGitHub
4, asio
5, boost
6, cmake
7, hwloc
8, gperftools
9, ninja
10, pkg-config
11, python3
12}:
13
14stdenv.mkDerivation rec {
15 pname = "hpx";
16 version = "1.9.1";
17
18 src = fetchFromGitHub {
19 owner = "STEllAR-GROUP";
20 repo = "hpx";
21 rev = "v${version}";
22 hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
23 };
24
25 propagatedBuildInputs = [ hwloc ];
26 buildInputs = [ asio boost gperftools ];
27 nativeBuildInputs = [ cmake pkg-config python3 ];
28
29 strictDeps = true;
30
31 meta = {
32 description = "C++ standard library for concurrency and parallelism";
33 homepage = "https://github.com/STEllAR-GROUP/hpx";
34 license = lib.licenses.boost;
35 platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
36 maintainers = with lib.maintainers; [ bobakker ];
37 };
38}