27 lines
758 B
Nix
27 lines
758 B
Nix
{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkgconfig, python }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "hpx";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "STEllAR-GROUP";
|
|
repo = "hpx";
|
|
rev = version;
|
|
sha256 = "0yjsrb11hlfwbiw0xi71ami9nrvz6jwj160h9qgl50icd79ngn46";
|
|
};
|
|
|
|
buildInputs = [ boost hwloc gperftools ];
|
|
nativeBuildInputs = [ cmake pkgconfig python ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
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 ];
|
|
};
|
|
}
|