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