libxklavier: enable strictDeps, modernize (#509583)

This commit is contained in:
Masum Reza
2026-04-22 09:32:27 +00:00
committed by GitHub
+10 -4
View File
@@ -20,14 +20,14 @@
withDoc ? (stdenv.buildPlatform == stdenv.hostPlatform),
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "libxklavier";
version = "5.4";
src = fetchgit {
url = "https://gitlab.freedesktop.org/archived-projects/libxklavier.git";
rev = "${pname}-${version}";
sha256 = "1w1x5mrgly2ldiw3q2r6y620zgd89gk7n90ja46775lhaswxzv7a";
tag = "libxklavier-${finalAttrs.version}";
hash = "sha256-6uzfuVaQlnMMURIke+ZLqL0PhPEmCzx4bFR4+nItPfA=";
};
patches = [
@@ -58,6 +58,10 @@ stdenv.mkDerivation rec {
isocodes
];
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
autoreconfHook
pkg-config
@@ -66,6 +70,8 @@ stdenv.mkDerivation rec {
gobject-introspection
];
strictDeps = true;
preAutoreconf = ''
export NOCONFIGURE=1
gtkdocize
@@ -84,4 +90,4 @@ stdenv.mkDerivation rec {
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.unix;
};
}
})