depot/third_party/nixpkgs/pkgs/development/libraries/libfixposix/default.nix
Default email 7e47f3658e Project import generated by Copybara.
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
2024-09-26 11:04:55 +00:00

23 lines
743 B
Nix

{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, getconf }:
stdenv.mkDerivation rec {
pname = "libfixposix";
version="0.5.1";
src = fetchFromGitHub {
owner = "sionescu";
repo = "libfixposix";
rev = "v${version}";
sha256 = "sha256-5qA6ytbqE+/05XQGxP9/4vEs9gFcuI3k7eJJYucW7fM=";
};
nativeBuildInputs = [ autoreconfHook pkg-config ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ getconf ];
meta = with lib; {
homepage = "https://github.com/sionescu/libfixposix";
description = "Thin wrapper over POSIX syscalls and some replacement functionality";
license = licenses.boost;
maintainers = with maintainers; [ orivej raskin ];
platforms = platforms.linux ++ platforms.darwin;
};
}