about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorMilan Pässler <mil@nyantec.com>2020-02-12 02:01:17 +0100
committerMilan Pässler <mil@nyantec.com>2020-02-12 02:03:27 +0100
commit020e93b394c18f0ca902947eb8d4fd870f53a133 (patch)
tree754a1937f0e14bf66f3ef63633573f671ceefd23 /pkgs/development/libraries
parente9cb7037f961bf367cb7da7cc758abc1a4d8dcef (diff)
downloadnixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar.gz
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar.bz2
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar.lz
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar.xz
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.tar.zst
nixlib-020e93b394c18f0ca902947eb8d4fd870f53a133.zip
ubus: init at unstable-2020-01-05
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/ubus/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/development/libraries/ubus/default.nix b/pkgs/development/libraries/ubus/default.nix
new file mode 100644
index 000000000000..1f7124411ac3
--- /dev/null
+++ b/pkgs/development/libraries/ubus/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, cmake, fetchgit, libubox, libjson }:
+
+stdenv.mkDerivation {
+  pname = "ubus";
+  version = "unstable-2020-01-05";
+
+  src = fetchgit {
+    url = "https://git.openwrt.org/project/ubus.git";
+    rev = "d35df8adda873dc75d876f72b78e84db8cfa72ee";
+    sha256 = "1ksrih5vfyixaafzsrs6ab88qw34d0197wvw201jl5p1fc7drgn4";
+  };
+
+  cmakeFlags = [ "-D BUILD_LUA:BOOL=OFF" ];
+  buildInputs = [ libubox libjson ];
+  nativeBuildInputs = [ cmake ];
+
+  meta = with stdenv.lib; {
+    description = "OpenWrt system message/RPC bus";
+    homepage = "https://git.openwrt.org/?p=project/ubus.git;a=summary";
+    license = licenses.lgpl21;
+    platforms = platforms.all;
+    maintainers = with maintainers; [ petabyteboy ];
+  };
+}