1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, getconf }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "1x4q6yspi5g2s98vq4qszw4z3zjgk9l5zs8471w4d4cs6l97w08j";
14 nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optionals stdenv.isDarwin [ getconf ];
17 homepage = "https://github.com/sionescu/libfixposix";
18 description = "Thin wrapper over POSIX syscalls and some replacement functionality";
19 license = licenses.boost;
20 maintainers = with maintainers; [ orivej raskin ];
21 platforms = platforms.linux ++ platforms.darwin;