2017-05-07 23:31:56 +00:00
|
|
|
{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkgconfig, python }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hpx-${version}";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "STEllAR-GROUP";
|
|
|
|
repo = "hpx";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0k79gw4c0v4i7ps1hw6x4m7svxbfml5xm6ly7p00dvg7z9521zsk";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost hwloc gperftools ];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig python ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "C++ standard library for concurrency and parallelism";
|
2017-08-01 20:03:30 +00:00
|
|
|
homepage = https://github.com/STEllAR-GROUP/hpx;
|
2017-05-07 23:31:56 +00:00
|
|
|
license = stdenv.lib.licenses.boost;
|
2017-05-08 12:47:51 +00:00
|
|
|
platforms = [ "x86_64-linux" ]; # stdenv.lib.platforms.linux;
|
2017-05-07 23:31:56 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ bobakker ];
|
|
|
|
};
|
|
|
|
}
|