mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 07:31:20 +00:00
luaPackages.ldbus: init at scm-0
This commit is contained in:
parent
4eb9c8cae5
commit
52c906147c
|
@ -18,6 +18,7 @@ dkjson,,,,,
|
|||
fifo,,,,,
|
||||
http,,,,,vcunat
|
||||
inspect,,,,,
|
||||
ldbus,,http://luarocks.org/dev,,,
|
||||
ldoc,,,,,
|
||||
lgi,,,,,
|
||||
linenoise,,,,,
|
||||
|
|
|
|
@ -359,6 +359,33 @@ inspect = buildLuarocksPackage {
|
|||
license.fullName = "MIT <http://opensource.org/licenses/MIT>";
|
||||
};
|
||||
};
|
||||
ldbus = buildLuarocksPackage {
|
||||
pname = "ldbus";
|
||||
version = "scm-0";
|
||||
|
||||
knownRockspec = (fetchurl {
|
||||
url = "https://luarocks.org/dev/ldbus-scm-0.rockspec";
|
||||
sha256 = "1yhkw5y8h1qf44vx31934k042cmnc7zcv2k0pv0g27wsmlxrlznx";
|
||||
}).outPath;
|
||||
|
||||
src = fetchgit ( removeAttrs (builtins.fromJSON ''{
|
||||
"url": "git://github.com/daurnimator/ldbus.git",
|
||||
"rev": "9e176fe851006037a643610e6d8f3a8e597d4073",
|
||||
"date": "2019-08-16T14:26:05+10:00",
|
||||
"sha256": "06wcz4i5b7kphqbry274q3ivnsh331rxiyf7n4qk3zx2kvarq08s",
|
||||
"fetchSubmodules": true
|
||||
}
|
||||
'') ["date"]) ;
|
||||
|
||||
disabled = (luaOlder "5.1") || (luaAtLeast "5.4");
|
||||
propagatedBuildInputs = [ lua ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/daurnimator/ldbus";
|
||||
description = "A Lua library to access dbus.";
|
||||
license.fullName = "MIT/X11";
|
||||
};
|
||||
};
|
||||
ldoc = buildLuarocksPackage {
|
||||
pname = "ldoc";
|
||||
version = "1.4.6-2";
|
||||
|
|
|
@ -76,6 +76,17 @@ with super;
|
|||
*/
|
||||
});
|
||||
|
||||
ldbus = super.ldbus.override({
|
||||
extraVariables = {
|
||||
DBUS_DIR="${pkgs.dbus.lib}";
|
||||
DBUS_ARCH_INCDIR="${pkgs.dbus.lib}/lib/dbus-1.0/include";
|
||||
DBUS_INCDIR="${pkgs.dbus.dev}/include/dbus-1.0";
|
||||
};
|
||||
buildInputs = with pkgs; [
|
||||
dbus
|
||||
];
|
||||
});
|
||||
|
||||
ljsyscall = super.ljsyscall.override(rec {
|
||||
version = "unstable-20180515";
|
||||
# package hasn't seen any release for a long time
|
||||
|
|
Loading…
Reference in a new issue