bscpkgs/bsc/tampi/default.nix

32 lines
654 B
Nix
Raw Normal View History

2020-06-09 00:01:33 +08:00
{
stdenv
, fetchurl
, automake
, autoconf
, libtool
, gnumake
, boost
, mpi
2020-06-10 00:21:02 +08:00
, gcc}:
2020-06-09 00:01:33 +08:00
let
inherit stdenv fetchurl;
version = "1.0.1";
in
{
hello = stdenv.mkDerivation rec {
name = "tampi-${version}";
2020-06-10 00:21:02 +08:00
enableParallelBuilding = true;
2020-06-09 00:01:33 +08:00
buildInputs = [ automake autoconf libtool gnumake boost mpi gcc ];
#hardeningDisable = [ "format" ];
preConfigure = ''
autoreconf -fiv
'';
2020-06-10 00:21:02 +08:00
configureFlags = [ "--disable-mpi-mt-check" ];
2020-06-09 00:01:33 +08:00
src = fetchurl {
url = "https://github.com/bsc-pm/tampi/archive/v${version}.tar.gz";
sha256 = "8608a74325939d2a6b56e82f7f6788efbc67731e2d64793bac69475f5b4b9704";
};
};
}