2024-01-25 14:12:00 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, asio
|
|
|
|
, boost
|
|
|
|
, cmake
|
|
|
|
, hwloc
|
|
|
|
, gperftools
|
|
|
|
, ninja
|
|
|
|
, pkg-config
|
|
|
|
, python3
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hpx";
|
2024-01-25 14:12:00 +00:00
|
|
|
version = "1.9.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "STEllAR-GROUP";
|
|
|
|
repo = "hpx";
|
2024-01-25 14:12:00 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-1gLDwgCqv+3+rOSG7a3fFsnjqfKpnPpWnBmrW+z+jWw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-01-25 14:12:00 +00:00
|
|
|
propagatedBuildInputs = [ hwloc ];
|
|
|
|
buildInputs = [ asio boost gperftools ];
|
2021-04-05 15:23:46 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python3 ];
|
|
|
|
|
|
|
|
strictDeps = true;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ standard library for concurrency and parallelism";
|
|
|
|
homepage = "https://github.com/STEllAR-GROUP/hpx";
|
2021-02-05 17:12:51 +00:00
|
|
|
license = lib.licenses.boost;
|
|
|
|
platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ bobakker ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|