2021-01-15 22:18:51 +00:00
|
|
|
{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkg-config, python }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "hpx";
|
2020-11-09 15:59:12 +00:00
|
|
|
version = "1.5.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "STEllAR-GROUP";
|
|
|
|
repo = "hpx";
|
|
|
|
rev = version;
|
2020-11-09 15:59:12 +00:00
|
|
|
sha256 = "1ld2k00500p107jarw379hsd1nlnm33972nv9c3ssfq619bj01c9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost hwloc gperftools ];
|
2021-01-15 22:18:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config python ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ standard library for concurrency and parallelism";
|
|
|
|
homepage = "https://github.com/STEllAR-GROUP/hpx";
|
|
|
|
license = stdenv.lib.licenses.boost;
|
|
|
|
platforms = [ "x86_64-linux" ]; # stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bobakker ];
|
|
|
|
};
|
|
|
|
}
|