Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / by-name / dt / dtcmp / package.nix
blobcd8f54e25d313bc4ce2858bb63670b7ffb46e72d
1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, mpi, lwgrp }:
3 stdenv.mkDerivation rec {
4   pname = "dtcmp";
5   version = "1.1.5";
7   src = fetchFromGitHub {
8     owner = "LLNL";
9     repo = "dtcmp";
10     rev = "v${version}";
11     hash = "sha256-Dc+c8JCc5D23CtpwiWkHCqngywEZXw7cYsRiSYiQdWk=";
12   };
14   outputs = [ "out" "dev" ];
16   nativeBuildInputs = [ autoreconfHook pkg-config ];
17   buildInputs = [ lwgrp ];
19   configureFlags = [ "--with-lwgrp=${lib.getDev lwgrp}" ];
21   propagatedBuildInputs = [ mpi ];
23   meta = with lib; {
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 ];
29   };