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