1 { lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, getconf }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-5qA6ytbqE+/05XQGxP9/4vEs9gFcuI3k7eJJYucW7fM=";
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;