1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mpi, lwgrp }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-Dc+c8JCc5D23CtpwiWkHCqngywEZXw7cYsRiSYiQdWk=";
14 outputs = [ "out" "dev" ];
16 nativeBuildInputs = [ autoreconfHook pkg-config ];
17 buildInputs = [ lwgrp ];
19 configureFlags = [ "--with-lwgrp=${lib.getDev lwgrp}" ];
21 propagatedBuildInputs = [ mpi ];
24 description = "MPI datatype comparison library";
25 homepage = "https://github.com/LLNL/dtcmp";
26 platforms = platforms.linux;
27 license = licenses.bsd3;
28 maintainers = [ maintainers.markuskowa ];