Skip to content

Commit

Permalink
Merge pull request #47732 from markuskowa/opensm-up
Browse files Browse the repository at this point in the history
opensm: 3.3.20 -> 3.3.21
  • Loading branch information
7c6f434c committed Oct 13, 2018
2 parents 9179c14 + e6c947a commit c60e8f4
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions pkgs/tools/networking/opensm/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{ stdenv, fetchgit, autoconf, automake, libtool, bison, flex, rdma-core }:
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, bison, flex, rdma-core }:

stdenv.mkDerivation rec {
name = "opensm-${version}";
version = "3.3.20";
version = "3.3.21";

src = fetchgit {
url = git://git.openfabrics.org/~halr/opensm.git;
rev = name;
sha256 = "1hlrn5z32yd4w8bj4z6bsfv84pk178s4rnppbabyjqv1rg3c58wl";
src = fetchFromGitHub {
owner = "linux-rdma";
repo = "opensm";
rev = "${version}";
sha256 = "0iikw28vslxq3baq9qmmw08yay7l524wciz7dv7km09ylcbx23b7";
};

nativeBuildInputs = [ autoconf automake libtool bison flex ];

buildInputs = [ rdma-core ];

preConfigure = "bash ./autogen.sh";
preConfigure = ''
patchShebangs ./autogen.sh
./autogen.sh
'';

enableParallelBuilding = true;

meta = with stdenv.lib; {
description = "Infiniband subnet manager";
Expand Down

0 comments on commit c60e8f4

Please sign in to comment.