blob: 0a5af8b907b8b20bd84df84323d48435d05316a8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{ lib, stdenv, cmake, fetchgit, pkg-config, libubox }:
stdenv.mkDerivation {
pname = "uci";
version = "unstable-2020-04-27";
src = fetchgit {
url = "https://git.openwrt.org/project/uci.git";
rev = "ec8d3233948603485e1b97384113fac9f1bab5d6";
sha256 = "0p765l8znvwhzhgkq7dp36w62k5rmzav59vgdqmqq1bjmlz1yyi6";
};
hardeningDisable = [ "all" ];
cmakeFlags = [ "-D BUILD_LUA:BOOL=OFF" ];
buildInputs = [ libubox ];
nativeBuildInputs = [ cmake pkg-config ];
meta = with 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 ];
};
}
|