emiluaPlugins.beast: init at 1.1.0

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew 2024-09-05 15:45:06 -03:00
parent a5122b1010
commit 278b2dfe71
3 changed files with 35 additions and 2 deletions

View File

@ -0,0 +1,28 @@
{ stdenv
, emilua
, meson
, gperf
, ninja
, asciidoctor
, pkg-config
, fetchFromGitLab
, gitUpdater
}:
stdenv.mkDerivation (self: {
pname = "emilua_beast";
version = "1.1.0";
src = fetchFromGitLab {
owner = "emilua";
repo = "beast";
rev = "v${self.version}";
hash = "sha256-HvfEigHJTZelPvHFk22PWxkTFEajHJXfiCndxXHVgq8=";
};
buildInputs = [ emilua asciidoctor gperf ];
nativeBuildInputs = [ meson pkg-config ninja ];
passthru.updateScript = gitUpdater {rev-prefix="v";};
})

View File

@ -47,7 +47,10 @@ let
EOF
'';
};
boost = boost182;
in
stdenv.mkDerivation (self: {
pname = "emilua";
version = "0.10.1";
@ -59,9 +62,9 @@ stdenv.mkDerivation (self: {
hash = "sha256-D6XKXik9nWQ6t6EF6dLbRGB60iFbPUM8/H8iFAz1QlE=";
};
buildInputs = [
propagatedBuildInputs = [
luajit_openresty
boost182
boost
fmt
ncurses
serd
@ -109,6 +112,7 @@ stdenv.mkDerivation (self: {
passthru = {
updateScript = gitUpdater {rev-prefix = "v";};
inherit boost;
sitePackages = "lib/emilua-${(lib.concatStringsSep "." (lib.take 2 (lib.splitVersion self.version)))}";
};

View File

@ -3,4 +3,5 @@
emilua:
(lib.makeScope newScope (self: {
inherit emilua;
beast = self.callPackage ../development/emilua-plugins/beast {};
}))