mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
sbarlua: init at unstable-2024-08-12
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
8ef82d9b1d
commit
2f4fc457c5
1 changed files with 32 additions and 0 deletions
32
pkgs/by-name/sb/sbarlua/package.nix
Normal file
32
pkgs/by-name/sb/sbarlua/package.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
gcc,
|
||||
lua54Packages,
|
||||
readline,
|
||||
}:
|
||||
lua54Packages.buildLuaPackage {
|
||||
pname = "sbarLua";
|
||||
version = "0-unstable-2024-08-12";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "FelixKratz";
|
||||
repo = "SbarLua";
|
||||
rev = "437bd2031da38ccda75827cb7548e7baa4aa9978";
|
||||
hash = "sha256-F0UfNxHM389GhiPQ6/GFbeKQq5EvpiqQdvyf7ygzkPg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gcc ];
|
||||
|
||||
buildInputs = [ readline ];
|
||||
|
||||
makeFlags = [ "INSTALL_DIR=$(out)/lib/lua/${lua54Packages.lua.luaversion}" ];
|
||||
|
||||
meta = {
|
||||
description = "Lua API for SketchyBar";
|
||||
homepage = "https://github.com/FelixKratz/SbarLua/";
|
||||
license = lib.licenses.gpl3;
|
||||
maintainers = [ lib.maintainers.khaneliman ];
|
||||
platforms = lib.platforms.darwin;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue