3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #50164 from markuskowa/upd-openmpi

openmpi: 3.1.2 -> 3.1.3
This commit is contained in:
markuskowa 2018-11-13 10:36:55 +01:00 committed by GitHub
commit 8c11e30eec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,15 +9,14 @@
}:
let
majorVersion = "3.1";
minorVersion = "2";
version = "3.1.3";
in stdenv.mkDerivation rec {
name = "openmpi-${majorVersion}.${minorVersion}";
name = "openmpi-${version}";
src = fetchurl {
url = "http://www.open-mpi.org/software/ompi/v${majorVersion}/downloads/${name}.tar.bz2";
sha256 = "1ibniapqki763agpfh65y284las083fqmj8m5b2pi8ilgy2fsm66";
src = with stdenv.lib.versions; fetchurl {
url = "http://www.open-mpi.org/software/ompi/v${major version}.${minor version}/downloads/${name}.tar.bz2";
sha256 = "1dks11scivgaskjs5955y9wprsl12wr3gn5r7wfl0l8gq03l7q4b";
};
postPatch = ''