adcli: fix and enable strictDeps for cross (#402471)

This commit is contained in:
Colin
2025-05-02 06:34:37 +00:00
committed by GitHub
+14 -9
View File
@@ -14,7 +14,7 @@
xmlto,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "adcli";
version = "0.9.2";
@@ -22,13 +22,14 @@ stdenv.mkDerivation rec {
domain = "gitlab.freedesktop.org";
owner = "realmd";
repo = "adcli";
rev = version;
tag = finalAttrs.version;
hash = "sha256-dipNKlIdc1DpXLg/YJjUxZlNoMFy+rt8Y/+AfWFA4dE=";
};
nativeBuildInputs = [
autoreconfHook
docbook_xsl
libxslt # xsltproc
pkg-config
util-linux
xmlto
@@ -37,11 +38,15 @@ stdenv.mkDerivation rec {
buildInputs = [
cyrus_sasl
libkrb5
libxslt
openldap
];
configureFlags = [ "--disable-debug" ];
strictDeps = true;
configureFlags = [
"--disable-debug"
"ac_cv_path_KRB5_CONFIG=${lib.getExe' (lib.getDev libkrb5) "krb5-config"}"
];
postPatch = ''
substituteInPlace tools/Makefile.am \
@@ -61,15 +66,15 @@ stdenv.mkDerivation rec {
patch_docbook doc/adcli-docs.xml
'';
meta = with lib; {
meta = {
homepage = "https://www.freedesktop.org/software/realmd/adcli/adcli.html";
description = "Helper library and tools for Active Directory client operations";
mainProgram = "adcli";
license = licenses.lgpl21Only;
maintainers = with maintainers; [
license = lib.licenses.lgpl21Only;
maintainers = with lib.maintainers; [
SohamG
anthonyroussel
];
platforms = platforms.linux;
platforms = lib.platforms.linux;
};
}
})