add to saturn
This commit is contained in:
parent
6d7bf21483
commit
25ab42dad0
25
pkgs/saturn/lua-dbus-proxy.nix
Normal file
25
pkgs/saturn/lua-dbus-proxy.nix
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
{ lua, lgi, pkg-config, buildLuaPackage, fetchFromGitHub }:
|
||||||
|
let
|
||||||
|
simpleName = "dbus_proxy";
|
||||||
|
in buildLuaPackage rec {
|
||||||
|
version = "0.10.2";
|
||||||
|
pname = simpleName;
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "stefano-m";
|
||||||
|
repo = "lua-${simpleName}";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0kl8ff1g1kpmslzzf53cbzfl1bmb5cb91w431hbz0z0vdrramh6l";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ lgi ];
|
||||||
|
|
||||||
|
buildPhase = ":";
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p "$out/share/lua/${lua.luaversion}"
|
||||||
|
cp -r src/${pname} "$out/share/lua/${lua.luaversion}/"
|
||||||
|
'';
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user