mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
31 lines
749 B
Nix
31 lines
749 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mpi, lwgrp }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "dtcmp";
|
|
version = "1.1.5";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "LLNL";
|
|
repo = "dtcmp";
|
|
rev = "v${version}";
|
|
hash = "sha256-Dc+c8JCc5D23CtpwiWkHCqngywEZXw7cYsRiSYiQdWk=";
|
|
};
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
|
buildInputs = [ lwgrp ];
|
|
|
|
configureFlags = [ "--with-lwgrp=${lib.getDev lwgrp}" ];
|
|
|
|
propagatedBuildInputs = [ mpi ];
|
|
|
|
meta = with lib; {
|
|
description = "MPI datatype comparison library";
|
|
homepage = "https://github.com/LLNL/dtcmp";
|
|
platforms = platforms.linux;
|
|
license = licenses.bsd3;
|
|
maintainers = [ maintainers.markuskowa ];
|
|
};
|
|
}
|