python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libubox / default.nix
blobbb49ad4472cf474d5fa44e5e9afb689735947296
1 { stdenv, lib, fetchgit, cmake, pkg-config, json_c }:
3 stdenv.mkDerivation {
4   pname = "libubox";
5   version = "unstable-2021-03-09";
7   src = fetchgit {
8     url = "https://git.openwrt.org/project/libubox.git";
9     rev = "551d75b5662cccd0466b990d58136bdf799a804d";
10     sha256 = "05cnjjqjv9nvrs1d8pg4xxxf27jryiv6xk8plmdpmm7r2wkvwn3r";
11   };
13   cmakeFlags = [ "-DBUILD_LUA=OFF" "-DBUILD_EXAMPLES=OFF" ];
15   nativeBuildInputs = [ cmake pkg-config ];
16   buildInputs = [ json_c ];
18   meta = with lib; {
19     description = "C utility functions for OpenWrt";
20     homepage = "https://git.openwrt.org/?p=project/libubox.git;a=summary";
21     license = licenses.isc;
22     maintainers = with maintainers; [ fpletz ];
23     mainProgram = "jshn";
24     platforms = platforms.all;
25   };