bmc-tools: init at 3.0.4 (#412421)

This commit is contained in:
MikeHorn-git
2025-06-15 20:43:00 +08:00
committed by GitHub
parent b46d78e32e
commit 1971d33ac4
+34
View File
@@ -0,0 +1,34 @@
{
lib,
python3,
fetchFromGitHub,
}:
python3.pkgs.buildPythonApplication {
pname = "bmc-tools";
version = "3.0.4-unstable-2025-01-21";
pyproject = false;
src = fetchFromGitHub {
owner = "ANSSI-FR";
repo = "bmc-tools";
rev = "94037ce01ceb651a10b04e3275b53face69f9e03";
hash = "sha256-4sW/vSPsx+MIpUV1/V7kseTkGJqiDlCo3G1omOxKHJk=";
};
installPhase = ''
runHook preInstall
install -Dm755 bmc-tools.py $out/bin/bmc-tools
runHook postInstall
'';
meta = {
description = "RDP Bitmap Cache parser";
homepage = "https://github.com/ANSSI-FR/bmc-tools";
license = lib.licenses.cecill21;
maintainers = with lib.maintainers; [ mikehorn ];
mainProgram = "bmc-tools";
};
}