forked from DGNum/liminix
shell-customization #4
2 changed files with 27 additions and 0 deletions
|
@ -111,6 +111,7 @@ in {
|
||||||
systemconfig = callPackage ./systemconfig {};
|
systemconfig = callPackage ./systemconfig {};
|
||||||
tufted = callPackage ./tufted {};
|
tufted = callPackage ./tufted {};
|
||||||
libubox = callPackage ./libubox {};
|
libubox = callPackage ./libubox {};
|
||||||
|
ubus = callPackage ./ubus {};
|
||||||
uevent-watch = callPackage ./uevent-watch {};
|
uevent-watch = callPackage ./uevent-watch {};
|
||||||
usb-modeswitch = callPackage ./usb-modeswitch {};
|
usb-modeswitch = callPackage ./usb-modeswitch {};
|
||||||
writeAshScript = callPackage ./write-ash-script {};
|
writeAshScript = callPackage ./write-ash-script {};
|
||||||
|
|
26
pkgs/ubus/default.nix
Normal file
26
pkgs/ubus/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
{ stdenv, lib, fetchFromGitHub, cmake, libubox, json_c }:
|
||||||
|
stdenv.mkDerivation {
|
||||||
|
pname = "ubus";
|
||||||
|
version = "unstable-04-09-2024";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "openwrt";
|
||||||
|
repo = "ubus";
|
||||||
|
rev = "65bb027054def3b94a977229fd6ad62ddd32345b";
|
||||||
|
hash = "sha256-n82Ub0IiuvWbnlDCoN+0hjo/1PbplEbc56kuOYMrHxQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
libubox
|
||||||
|
json_c
|
||||||
|
];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_LUA=off"
|
||||||
|
"-DBUILD_EXAMPLES=off"
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue