diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/hpx')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/hpx/default.nix | 26 |
1 files changed, 26 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..b6d6b6887525 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/hpx/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchFromGitHub, boost, cmake, hwloc, gperftools, pkgconfig, python }: + +stdenv.mkDerivation rec { + pname = "hpx"; + version = "1.5.0"; + + src = fetchFromGitHub { + owner = "STEllAR-GROUP"; + repo = "hpx"; + rev = version; + sha256 = "10hgjavhvn33y3k5j3l1326x13bxffghg2arxjrh7i7zd3qprfv5"; + }; + + 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 ]; + }; +} |