mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-12 07:30:04 +03:00
emiluaPlugins.beast: init at 1.1.0
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
parent
a5122b1010
commit
278b2dfe71
28
pkgs/development/emilua-plugins/beast/default.nix
Normal file
28
pkgs/development/emilua-plugins/beast/default.nix
Normal 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";};
|
||||
})
|
@ -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)))}";
|
||||
};
|
||||
|
||||
|
@ -3,4 +3,5 @@
|
||||
emilua:
|
||||
(lib.makeScope newScope (self: {
|
||||
inherit emilua;
|
||||
beast = self.callPackage ../development/emilua-plugins/beast {};
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user