1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
{ boost175
, c-ares
, cmake
, cryptopp
, fetchFromGitHub
, fmt_8
, gnutls
, hwloc
, lib
, libsystemtap
, libtasn1
, liburing
, libxfs
, lksctp-tools
, llvmPackages_14
, lz4
, ninja
, numactl
, openssl
, pkg-config
, python3
, ragel
, valgrind
, yaml-cpp
}:
let
pname = "seastar";
version = "22.11.0";
in
llvmPackages_14.stdenv.mkDerivation {
inherit pname version;
strictDeps = true;
src = fetchFromGitHub {
owner = "redpanda-data";
repo = "seastar";
rev = "30d3a28bde08d2228b4e560c173b89fdd94c3f05";
sha256 = "sha256-Xzu7AJMkvE++BGEqluod3fwMEIpDnbCczmlEad0/4v4=";
};
nativeBuildInputs = [
cmake
ninja
openssl
pkg-config
python3
ragel
];
buildInputs = [
libsystemtap
libxfs
];
propagatedBuildInputs = [
boost175
c-ares
gnutls
cryptopp
fmt_8
hwloc
libtasn1
liburing
lksctp-tools
lz4
numactl
valgrind
yaml-cpp
];
patches = [
./seastar-fixes.patch
];
postPatch = ''
patchShebangs ./scripts/seastar-json2code.py
'';
cmakeFlags = [
"-DSeastar_EXCLUDE_DEMOS_FROM_ALL=ON"
"-DSeastar_EXCLUDE_TESTS_FROM_ALL=ON"
];
doCheck = false;
meta = with lib; {
description = "High performance server-side application framework.";
license = licenses.asl20;
homepage = "https://seastar.io/";
maintainers = with maintainers; [ avakhrenev ];
platforms = platforms.unix;
};
}
|