nixpkgs-suyu/pkgs/by-name/dt/dtcmp/package.nix
2023-11-10 10:39:51 +01:00

30 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 ];
};
}