From 6ad91bb5ca13ff97f0c20dc0e8c46a3283b3a093 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=C3=A4ssler?= Date: Wed, 12 Feb 2020 02:02:19 +0100 Subject: [PATCH] uci: init at unstable-2020-01-27 --- pkgs/development/libraries/uci/default.nix | 25 ++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/uci/default.nix diff --git a/pkgs/development/libraries/uci/default.nix b/pkgs/development/libraries/uci/default.nix new file mode 100644 index 000000000000..e3bdea8c8890 --- /dev/null +++ b/pkgs/development/libraries/uci/default.nix @@ -0,0 +1,25 @@ +{ stdenv, cmake, fetchgit, pkgconfig, libubox }: + +stdenv.mkDerivation { + pname = "uci"; + version = "unstable-2020-01-27"; + + src = fetchgit { + url = "https://git.openwrt.org/project/uci.git"; + rev = "e8d83732f9eb571dce71aa915ff38a072579610b"; + sha256 = "1si8dh8zzw4j6m7387qciw2akfvl7c4779s8q5ns2ys6dn4sz6by"; + }; + + hardeningDisable = [ "all" ]; + cmakeFlags = [ "-D BUILD_LUA:BOOL=OFF" ]; + buildInputs = [ libubox ]; + nativeBuildInputs = [ cmake pkgconfig ]; + + meta = with stdenv.lib; { + description = "OpenWrt Unified Configuration Interface"; + homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary"; + license = licenses.lgpl21; + platforms = platforms.all; + maintainers = with maintainers; [ petabyteboy ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e9cc7bc43767..7bd293399af0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11106,6 +11106,8 @@ in ubus = callPackage ../development/libraries/ubus { }; + uci = callPackage ../development/libraries/uci { }; + uri = callPackage ../development/libraries/uri { }; cppcms = callPackage ../development/libraries/cppcms { };