diff options
Diffstat (limited to 'pkgs/tools/networking/opensm')
-rw-r--r-- | pkgs/tools/networking/opensm/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/tools/networking/opensm/default.nix b/pkgs/tools/networking/opensm/default.nix new file mode 100644 index 000000000000..a053c82a8264 --- /dev/null +++ b/pkgs/tools/networking/opensm/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchgit, autoconf, automake, libtool, bison, flex, rdma-core }: + +stdenv.mkDerivation rec { + name = "opensm-${version}"; + version = "3.3.20"; + + src = fetchgit { + url = git://git.openfabrics.org/~halr/opensm.git; + rev = name; + sha256 = "1hlrn5z32yd4w8bj4z6bsfv84pk178s4rnppbabyjqv1rg3c58wl"; + }; + + nativeBuildInputs = [ autoconf automake libtool bison flex ]; + + buildInputs = [ rdma-core ]; + + preConfigure = "bash ./autogen.sh"; + + meta = with stdenv.lib; { + description = "Infiniband subnet manager"; + homepage = https://www.openfabrics.org/; + license = licenses.gpl2; # dual licensed as 2-clause BSD + maintainers = [ maintainers.aij ]; + platforms = [ "x86_64-linux" ]; + }; +} |