about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/hpx
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/hpx')
-rw-r--r--nixpkgs/pkgs/development/libraries/hpx/default.nix27
1 files changed, 27 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/hpx/default.nix b/nixpkgs/pkgs/development/libraries/hpx/default.nix
new file mode 100644
index 000000000000..2464e95c6b6d
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/hpx/default.nix
@@ -0,0 +1,27 @@
+{ lib, stdenv, fetchFromGitHub, asio, boost, cmake, hwloc, gperftools, ninja
+, pkg-config, python3 }:
+
+stdenv.mkDerivation rec {
+  pname = "hpx";
+  version = "1.8.1";
+
+  src = fetchFromGitHub {
+    owner = "STEllAR-GROUP";
+    repo = "hpx";
+    rev = version;
+    sha256 = "sha256-YJ4wHaPE5E6ngUAYrQB1SkW4IoHW71tUDKKNANVA9Xw=";
+  };
+
+  buildInputs = [ asio boost hwloc gperftools ];
+  nativeBuildInputs = [ cmake pkg-config python3 ];
+
+  strictDeps = true;
+
+  meta = {
+    description = "C++ standard library for concurrency and parallelism";
+    homepage = "https://github.com/STEllAR-GROUP/hpx";
+    license = lib.licenses.boost;
+    platforms = [ "x86_64-linux" ]; # lib.platforms.linux;
+    maintainers = with lib.maintainers; [ bobakker ];
+  };
+}