about summary refs log tree commit diff
path: root/pkgs/by-name/mp/mpifileutils/package.nix
blob: 92300592c2fa8131c51bc670b29caa53ee071c39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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 ];
  };
}