python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libiscsi / default.nix
blob3cc2e0eee8c3cbbe830debaa19e65a7755c80b4f
1 { lib, stdenv, fetchFromGitHub, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   pname = "libiscsi";
5   version = "1.19.0";
7   src = fetchFromGitHub {
8     owner = "sahlberg";
9     repo = "libiscsi";
10     rev = version;
11     sha256 = "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7";
12   };
14   nativeBuildInputs = [ autoreconfHook ];
16   # This problem is gone on libiscsi master.
17   NIX_CFLAGS_COMPILE =
18     lib.optional stdenv.hostPlatform.is32bit "-Wno-error=sign-compare";
20   meta = with lib; {
21     description = "iscsi client library and utilities";
22     homepage = "https://github.com/sahlberg/libiscsi";
23     license = licenses.lgpl2;
24     platforms = platforms.unix;
25     maintainers = with maintainers; [ misuzu ];
26   };