msalsdk-dbusclient: remove package (#489462)

This commit is contained in:
Sandro
2026-02-19 21:58:53 +00:00
committed by GitHub
3 changed files with 1 additions and 69 deletions
@@ -1,43 +0,0 @@
{
stdenv,
lib,
fetchurl,
dpkg,
sdbus-cpp,
}:
stdenv.mkDerivation rec {
pname = "msalsdk-dbusclient";
version = "1.0.1";
src = fetchurl {
url = "https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/msalsdk-dbusclient/msalsdk-dbusclient_${version}_amd64.deb";
hash = "sha256-AVPrNxCjXGza2gGETP0YrlXeEgI6AjlrSVTtqKb2UBI=";
};
nativeBuildInputs = [ dpkg ];
installPhase = ''
runHook preInstall
mkdir -p $out/lib
install -m 755 usr/lib/libmsal_dbus_client.so $out/lib/
patchelf --set-rpath ${
lib.makeLibraryPath [
stdenv.cc.cc
sdbus-cpp
]
} $out/lib/libmsal_dbus_client.so
runHook postInstall
'';
passthru.updateScript = ./update.sh;
meta = {
description = "Microsoft Authentication Library cross platform Dbus client for talking to microsoft-identity-broker";
homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-cpp";
license = lib.licenses.unfree;
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
platforms = [ "x86_64-linux" ];
maintainers = with lib.maintainers; [ rhysmdnz ];
};
}
@@ -1,26 +0,0 @@
#! /usr/bin/env nix-shell
#! nix-shell -i bash -p curl gzip dpkg common-updater-scripts
index_file=$(curl -sL https://packages.microsoft.com/ubuntu/22.04/prod/dists/jammy/main/binary-amd64/Packages.gz | gzip -dc)
latest_version="0"
echo "$index_file" | while read -r line; do
if [[ "$line" =~ ^Package:[[:space:]]*(.*) ]]; then
Package="${BASH_REMATCH[1]}"
fi
if [[ "$line" =~ ^Version:[[:space:]]*(.*) ]]; then
Version="${BASH_REMATCH[1]}"
fi
if ! [[ "$line" ]] && [[ "${Package}" == "msalsdk-dbusclient" ]]; then
if ( dpkg --compare-versions ${Version} gt ${latest_version} ); then
latest_version="${Version}"
echo $latest_version
fi
Package=""
Version=""
fi
done | tail -n 1 | (read version; update-source-version msalsdk-dbusclient $version)
+1
View File
@@ -1346,6 +1346,7 @@ mapAliases {
mpw = throw "'mpw' has been removed, as upstream development has moved to Spectre, which is packaged as 'spectre-cli'"; # Added 2025-10-26
mrpeach = throw "'mrpeach' has been removed as it is unmaintained"; # Added 2025-10-06
mrxvt = throw "'mrxvt' has been removed due to lack of maintainence upstream"; # Added 2025-09-25
msalsdk-dbusclient = throw "'msalsdk-dbusclient' has been removed, as it is no longer needed by 'intune-portal'"; # Added 2026-02-11
msgpack = throw "msgpack has been split into msgpack-c and msgpack-cxx"; # Added 2025-09-14
msp430NewlibCross = throw "'msp430NewlibCross' has been renamed to/replaced by 'msp430Newlib'"; # Converted to throw 2025-10-27
mullvad-closest = throw "'mullvad-closest' has been removed as it was unmaintained. Consider using 'mullvad-compass' instead."; # Added 2026-01-13