mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
cd3c25616d
All packages that were failing on x86_64-darwin are marked broken. I'm assuming here that these are also broken on aarch64-darwin.
36 lines
866 B
Nix
36 lines
866 B
Nix
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
|
, openssl
|
|
, libcap, libpcap, libnfnetlink, libnetfilter_conntrack, libnetfilter_queue
|
|
}:
|
|
|
|
with lib;
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "tcpcrypt";
|
|
version = "0.5";
|
|
|
|
src = fetchFromGitHub {
|
|
repo = "tcpcrypt";
|
|
owner = "scslab";
|
|
rev = "v${version}";
|
|
sha256 = "0a015rlyvagz714pgwr85f8gjq1fkc0il7d7l39qcgxrsp15b96w";
|
|
};
|
|
|
|
postUnpack = "mkdir -vp $sourceRoot/m4";
|
|
|
|
outputs = [ "bin" "dev" "out" ];
|
|
nativeBuildInputs = [ autoreconfHook ];
|
|
buildInputs = [ openssl libpcap ]
|
|
++ optionals stdenv.isLinux [ libcap libnfnetlink libnetfilter_conntrack libnetfilter_queue ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
broken = stdenv.isDarwin;
|
|
homepage = "http://tcpcrypt.org/";
|
|
description = "Fast TCP encryption";
|
|
platforms = platforms.all;
|
|
license = licenses.bsd2;
|
|
};
|
|
}
|