summary refs log tree commit diff
path: root/pkgs/by-name/mp/mpifileutils/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/mp/mpifileutils/package.nix')
-rw-r--r--pkgs/by-name/mp/mpifileutils/package.nix47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/mp/mpifileutils/package.nix b/pkgs/by-name/mp/mpifileutils/package.nix
new file mode 100644
index 00000000000..92300592c2f
--- /dev/null
+++ b/pkgs/by-name/mp/mpifileutils/package.nix
@@ -0,0 +1,47 @@
+{ lib
+, stdenv
+, fetchFromGitHub
+, cmake
+, pkg-config
+, mpi
+, attr
+, dtcmp
+, libarchive
+, libcircle
+, bzip2
+, openssl
+}:
+
+stdenv.mkDerivation rec {
+  pname = "mpifileutils";
+  version = "0.11.1";
+
+  src = fetchFromGitHub {
+    owner = "hpc";
+    repo = "mpifileutils";
+    rev = "v${version}";
+    hash = "sha256-3nls82awMMCwlfafsOy3AY8OvT9sE+BvvsDOY14YvQc=";
+  };
+
+  outputs = [ "out" "dev" "man" ];
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [
+    attr
+    dtcmp
+    libarchive
+    libcircle
+    bzip2
+    openssl
+  ];
+
+  propagatedBuildInputs = [ mpi ];
+
+  meta = with lib; {
+    description = "Suite of MPI-based tools to manage large datasets";
+    homepage = "https://hpc.github.io/mpifileutils";
+    platforms = platforms.linux;
+    license = licenses.bsd3;
+    maintainers = [ maintainers.markuskowa ];
+  };
+}