nixpkgs/pkgs/tools/misc/mstflint/default.nix

27 lines
700 B
Nix
Raw Normal View History

2020-03-05 13:27:46 +00:00
{ stdenv, autoreconfHook, fetchFromGitHub, zlib, libibmad, openssl }:
2014-09-15 03:00:25 +01:00
2016-08-24 19:04:38 +01:00
stdenv.mkDerivation rec {
2020-03-05 13:27:46 +00:00
pname = "mstflint";
version = "4.14.0-1";
2014-09-15 03:00:25 +01:00
2020-03-05 13:27:46 +00:00
src = fetchFromGitHub {
owner = "Mellanox";
repo = pname;
rev = "v${version}";
sha256 = "0xrwx623vl17cqzpacil74m2fi4xrshgvvzxiplz1wq47gq7wp1i";
2014-09-15 03:00:25 +01:00
};
2020-03-05 13:27:46 +00:00
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ zlib libibmad openssl ];
hardeningDisable = [ "format" ];
dontDisableStatic = true; # the build fails without this. should probably be reported upstream
2014-09-15 03:00:25 +01:00
meta = with stdenv.lib; {
2020-03-05 13:27:46 +00:00
homepage = "https://github.com/Mellanox/mstflint";
license = with licenses; [ gpl2 bsd2 ];
2014-09-15 03:00:25 +01:00
platforms = platforms.linux;
};
}