44560ee9f7
some of these were just typos like `finalAttr`, `finalAtts` or `finaAttrs` some of these were using `self`, `final`, `finalPackage`, `attrs` or `_` some of these were wrong by using `oldAttrs` or `finalPackages` other than the nixos manual this shouldn't create any rebuilds
50 lines
870 B
Nix
50 lines
870 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
emilua,
|
|
meson,
|
|
gperf,
|
|
ninja,
|
|
asciidoctor,
|
|
pkg-config,
|
|
fetchFromGitLab,
|
|
gitUpdater,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "emilua_beast";
|
|
version = "1.1.2";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "emilua";
|
|
repo = "beast";
|
|
rev = "v${finalAttrs.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;
|
|
};
|
|
})
|