nixpkgs/pkgs/development/libraries/libiscsi/default.nix
Ryan Burns 882acbd0af Revert "pkgsMusl.libiscsi: fix build"
This is no longer needed with the previous PIE hardening fixes.

This reverts commit 78d20f2200.
2021-09-20 17:24:12 -07:00

28 lines
722 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "libiscsi";
version = "1.19.0";
src = fetchFromGitHub {
owner = "sahlberg";
repo = "libiscsi";
rev = version;
sha256 = "0ajrkkg5awmi8m4b3mha7h07ylg18k252qprvk1sgq0qbyd66zy7";
};
nativeBuildInputs = [ autoreconfHook ];
# This problem is gone on libiscsi master.
NIX_CFLAGS_COMPILE =
lib.optional stdenv.hostPlatform.is32bit "-Wno-error=sign-compare";
meta = with lib; {
description = "iscsi client library and utilities";
homepage = "https://github.com/sahlberg/libiscsi";
license = licenses.lgpl2;
platforms = platforms.unix;
maintainers = with maintainers; [ misuzu ];
};
}