Unverified Commit 56d5c420 authored by nikstur's avatar nikstur Committed by GitHub
Browse files

mstflint_access: 4.30.0-1 -> 4.31.0-1; mstflint: 4.30.0-1 -> 4.31.0-1 (#381672)

parents 534fd4b9 3d229753
Loading
Loading
Loading
Loading
+11 −2
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, fetchpatch
, rdma-core
, openssl
, zlib
@@ -27,13 +28,21 @@ stdenv.mkDerivation rec {
  pname = "mstflint";

  # if you update the version of this package, also update the input hash in mstflint_access!
  version = "4.30.0-1";
  version = "4.31.0-1";

  src = fetchurl {
    url = "https://github.com/Mellanox/mstflint/releases/download/v${version}/mstflint-${version}.tar.gz";
    hash = "sha256-8v0aeVy1ZGbzNdL71V1qm6sgEy0e3eb2F1DP8L3m2ns=";
    hash = "sha256-wBUkFOdYChiSXHcH6+LLZZ06Hte4ABWjW+pNcjtk+Oc=";
  };

  patches = [
    # fixes build errors due to missing declarations in headers
    (fetchpatch {
      url = "https://patch-diff.githubusercontent.com/raw/Mellanox/mstflint/pull/1131.patch";
      sha256 = "sha256-tn8EO9HkDrMroV6byUPgjclBIK8tq4xGyi4Kx/rIj+w=";
    })
  ];

  nativeBuildInputs = [
    autoconf
    automake
+1 −1
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ stdenv.mkDerivation rec {

  src = fetchurl {
    url = "https://github.com/Mellanox/mstflint/releases/download/v${version}/kernel-mstflint-${version}.tar.gz";
    hash = "sha256-DfXaU31itartFgTeCtWNZrskjUqc1a62dRO/gTfgCHk=";
    hash = "sha256-kQBv/67miw6lSHIcCVYy66B7OHVofFs2N+evtsQ3Ovk=";
  };

  nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies;