tampi: Update to 1.0.2 and use fetchFromGitHub

The configure flags are no longer required.
This commit is contained in:
Rodrigo Arias 2020-11-11 12:24:41 +01:00
parent 63f966e3c1
commit 1838178761

View File

@ -1,6 +1,6 @@
{ {
stdenv stdenv
, fetchurl , fetchFromGitHub
, automake , automake
, autoconf , autoconf
, libtool , libtool
@ -12,14 +12,16 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "1.0.1"; version = "1.0.2";
name = "tampi-${version}"; pname = "tampi";
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ]; buildInputs = [ autoreconfHook automake autoconf libtool gnumake boost mpi gcc ];
dontDisableStatic = true; dontDisableStatic = true;
configureFlags = [ "--disable-mpi-mt-check" "CXXFLAGS=-DOMPI_SKIP_MPICXX=1" ];
src = fetchurl { src = fetchFromGitHub {
url = "https://github.com/bsc-pm/tampi/archive/v${version}.tar.gz"; owner = "bsc-pm";
sha256 = "8608a74325939d2a6b56e82f7f6788efbc67731e2d64793bac69475f5b4b9704"; repo = "tampi";
rev = "v${version}";
sha256 = "09711av3qbah56mchr81679x05zxl3hi0pjndcnvk7jsfcdxvbm7";
}; };
} }