1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #272911 from manipuladordedados/master

emilua: 0.4.3 -> 0.5.1
This commit is contained in:
Thiago Kenji Okada 2023-12-11 22:14:36 +00:00 committed by GitHub
commit eef6384e98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,6 @@
, re2c
, gperf
, gawk
, xxd
, pkg-config
, boost182
, fmt
@ -18,6 +17,8 @@
, libcap
, liburing
, openssl
, cereal
, cmake
, asciidoctor
}:
@ -40,13 +41,13 @@ let
in
stdenv.mkDerivation rec {
pname = "emilua";
version = "0.4.3";
version = "0.5.1";
src = fetchFromGitLab {
owner = "emilua";
repo = "emilua";
rev = "v${version}";
hash = "sha256-vZITPQ1qUHhw24c0HKdR6VenviOc6JizQQ8w7K94irc=";
hash = "sha256-5NzxZHdQGw3qLEzW/mv1sLCuqehn5pjUYkCna4PUzDQ=";
};
buildInputs = [
@ -59,19 +60,22 @@ stdenv.mkDerivation rec {
libcap
liburing
openssl
cereal
];
nativeBuildInputs = [
re2c
gperf
gawk
xxd
pkg-config
asciidoctor
meson
cmake
ninja
];
dontUseCmakeConfigure = true;
# Meson is no longer able to pick up Boost automatically.
# https://github.com/NixOS/nixpkgs/issues/86131
env = {
@ -80,13 +84,12 @@ stdenv.mkDerivation rec {
};
mesonFlags = [
"-Dversion_suffix=-nixpkgs1"
"-Denable_http=true"
"-Denable_file_io=true"
"-Denable_io_uring=true"
"-Denable_linux_namespaces=true"
"-Denable_tests=true"
"-Denable_manpages=true"
(lib.mesonOption "version_suffix" "-nixpkgs1")
(lib.mesonBool "enable_http" true)
(lib.mesonBool "enable_file_io" true)
(lib.mesonBool "enable_io_uring" true)
(lib.mesonBool "enable_tests" true)
(lib.mesonBool "enable_manpages" true)
];
postPatch = ''