mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:28:51 +00:00
27 lines
751 B
Nix
27 lines
751 B
Nix
|
{ 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";
|
||
|
homepage = "https://github.com/STEllAR-GROUP/hpx";
|
||
|
license = stdenv.lib.licenses.boost;
|
||
|
platforms = stdenv.lib.platforms.linux;
|
||
|
maintainers = with stdenv.lib.maintainers; [ bobakker ];
|
||
|
};
|
||
|
}
|