libconfig: 1.8 -> 1.8.2

Changelog: https://github.com/hyperrealm/libconfig/blob/v1.8.2/ChangeLog
This commit is contained in:
Robert Schütz
2026-06-01 22:19:56 -07:00
parent e7713b176c
commit 3c057b8e22
+3 -14
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchurl,
fetchpatch,
# This also disables building tests.
# on static windows cross-compile they fail to build
doCheck ? with stdenv.hostPlatform; !(isWindows && isStatic),
@@ -10,24 +9,13 @@
stdenv.mkDerivation (finalAttrs: {
pname = "libconfig";
version = "1.8";
version = "1.8.2";
src = fetchurl {
url = "https://hyperrealm.github.io/libconfig/dist/libconfig-${finalAttrs.version}.tar.gz";
hash = "sha256-BR4V3Q6QfESQXzF5M/VIcxTypW6MZybIMEzpkIhIUKo=";
hash = "sha256-5Z/7kC3Vcx1dTk+4HTuYlpdhX+q3Lf18MGGBZ7kaQu4=";
};
patches = [
# Fix tests on i686-linux:
# https://github.com/hyperrealm/libconfig/pull/260
# TODO: remove with a next release
(fetchpatch {
name = "32-bit-tests.patch";
url = "https://github.com/hyperrealm/libconfig/commit/b90c45a18110fcca415d00a98ff79c908c42544b.patch";
hash = "sha256-8CihXbpKx0Rn0CFxyP6+f6m8vUYehCl/1EtTo98VpfM=";
})
];
inherit doCheck;
configureFlags =
@@ -38,6 +26,7 @@ stdenv.mkDerivation (finalAttrs: {
meta = {
homepage = "https://hyperrealm.github.io/libconfig/";
changelog = "https://github.com/hyperrealm/libconfig/blob/v${finalAttrs.version}/ChangeLog";
description = "C/C++ library for processing configuration files";
license = lib.licenses.lgpl3;
maintainers = with lib.maintainers; [ stv0g ];