Merge pull request #136831 from mweinelt/mstflint

This commit is contained in:
Martin Weinelt 2021-12-02 22:04:47 +01:00 committed by GitHub
commit 375fc047da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,18 +1,25 @@
{ lib, stdenv, autoreconfHook, fetchFromGitHub, zlib, libibmad, openssl }: { lib
, stdenv
, fetchurl
, libibmad
, openssl
, zlib
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mstflint"; pname = "mstflint";
version = "4.14.0-3"; version = "4.17.0-1";
src = fetchFromGitHub { src = fetchurl {
owner = "Mellanox"; url = "https://github.com/Mellanox/mstflint/releases/download/v${version}/mstflint-${version}.tar.gz";
repo = pname; sha256 = "030vpiv44sxmjf0dng91ziq1cggwj33yp0l4xc6cdhnrv2prjs7y";
rev = "v${version}";
sha256 = "0zy9npyzf7dkxlfl9mx6997aa61mk23ixpjb01ckb1wvav5k6z82";
}; };
nativeBuildInputs = [ autoreconfHook ]; buildInputs = [
buildInputs = [ zlib libibmad openssl ]; libibmad
openssl
zlib
];
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];