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

27 lines
700 B
Nix
Raw Normal View History

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