Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
858 B
Nix
50 lines
858 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
emilua,
|
|
meson,
|
|
gperf,
|
|
ninja,
|
|
asciidoctor,
|
|
pkg-config,
|
|
fetchFromGitLab,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (self: {
|
|
pname = "emilua_beast";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "emilua";
|
|
repo = "beast";
|
|
rev = "v${self.version}";
|
|
hash = "sha256-MASaZvhIVKmeBUcn/NjlBZ+xh+2RgwHBH2o08lklGa0=";
|
|
};
|
|
|
|
buildInputs = [
|
|
emilua
|
|
asciidoctor
|
|
gperf
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
];
|
|
|
|
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
|
|
|
meta = {
|
|
description = "Emilua bindings to Boost.Beast (a WebSocket library)";
|
|
homepage = "https://gitlab.com/emilua/beast";
|
|
license = lib.licenses.boost;
|
|
maintainers = with lib.maintainers; [
|
|
manipuladordedados
|
|
lucasew
|
|
];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
})
|