nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 48 lines 851 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5 autoconf, 6 automake, 7 libtool, 8 bison, 9 flex, 10 rdma-core, 11}: 12 13stdenv.mkDerivation (finalAttrs: { 14 pname = "opensm"; 15 version = "3.3.24"; 16 17 src = fetchFromGitHub { 18 owner = "linux-rdma"; 19 repo = "opensm"; 20 rev = finalAttrs.version; 21 sha256 = "sha256-/bqo5r9pVt7vg29xaRRO/9k21AMlmoe2327Ot5gVIwc="; 22 }; 23 24 nativeBuildInputs = [ 25 autoconf 26 automake 27 libtool 28 bison 29 flex 30 ]; 31 32 buildInputs = [ rdma-core ]; 33 34 preConfigure = '' 35 patchShebangs ./autogen.sh 36 ./autogen.sh 37 ''; 38 39 enableParallelBuilding = true; 40 41 meta = { 42 description = "Infiniband subnet manager"; 43 homepage = "https://www.openfabrics.org/"; 44 license = lib.licenses.gpl2Only; # dual licensed as 2-clause BSD 45 maintainers = [ lib.maintainers.aij ]; 46 platforms = [ "x86_64-linux" ]; 47 }; 48})