mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
emiluaPlugins.this-thread: init at 1.0.0
This commit is contained in:
parent
e155d91245
commit
ed425763a5
60
pkgs/development/emilua-plugins/this-thread/default.nix
Normal file
60
pkgs/development/emilua-plugins/this-thread/default.nix
Normal file
@ -0,0 +1,60 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
meson,
|
||||
ninja,
|
||||
fetchFromGitLab,
|
||||
gperf,
|
||||
gawk,
|
||||
gitUpdater,
|
||||
pkg-config,
|
||||
boost,
|
||||
luajit_openresty,
|
||||
asciidoctor,
|
||||
emilua,
|
||||
liburing,
|
||||
openssl,
|
||||
fmt,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "emilua-this-thread";
|
||||
version = "1.0.0";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "emilua";
|
||||
repo = "this-thread";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-JmAe69heZ406LE2aaSxQXJYu/iv1cS90KHecQJYoiKQ=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
emilua
|
||||
liburing
|
||||
fmt
|
||||
luajit_openresty
|
||||
openssl
|
||||
boost
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
gperf
|
||||
gawk
|
||||
pkg-config
|
||||
asciidoctor
|
||||
meson
|
||||
ninja
|
||||
];
|
||||
|
||||
passthru = {
|
||||
updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Access C++'s this_thread from Lua";
|
||||
homepage = "https://emilua.org/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ manipuladordedados ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -18,4 +18,5 @@ emilua:
|
||||
secp256k1 = self.callPackage ../development/emilua-plugins/secp256k1 {
|
||||
inherit (pkgs) secp256k1;
|
||||
};
|
||||
this-thread = self.callPackage ../development/emilua-plugins/this-thread { };
|
||||
}))
|
||||
|
Loading…
Reference in New Issue
Block a user