astroterm: 1.0.4 -> 1.0.6 (#378908)
[NixPkgs.git] / pkgs / by-name / uc / uci / package.nix
blobd6318106a3fe8a1a116e880c1ef5421da6fd0700
2   lib,
3   stdenv,
4   cmake,
5   fetchgit,
6   pkg-config,
7   libubox,
8 }:
10 stdenv.mkDerivation {
11   pname = "uci";
12   version = "unstable-2023-08-10";
14   src = fetchgit {
15     url = "https://git.openwrt.org/project/uci.git";
16     rev = "5781664d5087ccc4b5ab58505883231212dbedbc";
17     hash = "sha256-8MyFaZdAMh5oMPO/5QyNT+Or57eBL3mamJLblGGoF9g=";
18   };
20   hardeningDisable = [ "all" ];
21   cmakeFlags = [ "-DBUILD_LUA=OFF" ];
22   buildInputs = [ libubox ];
23   nativeBuildInputs = [
24     cmake
25     pkg-config
26   ];
28   meta = with lib; {
29     description = "OpenWrt Unified Configuration Interface";
30     mainProgram = "uci";
31     homepage = "https://git.openwrt.org/?p=project/uci.git;a=summary";
32     license = licenses.lgpl21Only;
33     platforms = platforms.all;
34     maintainers = with maintainers; [ mkg20001 ];
35   };