10 # Upstream enables regex by default
12 # Signature support is broken with openssl 1.1.1: https://github.com/vstakhov/libucl/issues/203
22 signatures = [ openssl ];
26 stdenv.mkDerivation rec {
30 src = fetchFromGitHub {
34 sha256 = "sha256-rpTc0gq8HquDow4NEkRSjyESEMrv8dAhX98yKKu/Fsk=";
37 nativeBuildInputs = [ pkg-config autoreconfHook ];
39 buildInputs = with lib;
41 mapAttrsToList (feat: enabled:
42 optionals enabled (featureDeps."${feat}" or [])
46 enableParallelBuilding = true;
48 configureFlags = with lib;
49 mapAttrsToList (feat: enabled: strings.enableFeature enabled feat) features;
52 description = "Universal configuration library parser";
53 homepage = "https://github.com/vstakhov/libucl";
54 license = licenses.bsd2;
55 platforms = platforms.unix;
56 maintainers = with maintainers; [ jpotier ];