Files
nixpkgs/pkgs/by-name/bm/bmc-tools/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

35 lines
735 B
Nix

{
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";
};
}