Files
nixpkgs/pkgs/by-name/ga/gallia/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

61 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
python3,
cacert,
addBinToPathHook,
}:
python3.pkgs.buildPythonApplication rec {
pname = "gallia";
version = "2.0.0a4";
pyproject = true;
src = fetchFromGitHub {
owner = "Fraunhofer-AISEC";
repo = "gallia";
tag = "v${version}";
hash = "sha256-by2zlfVN/FUNU9d5nn4JZ8xzto3k60DITPYhYqwm3Ms=";
};
build-system = with python3.pkgs; [ hatchling ];
dependencies = with python3.pkgs; [
aiosqlite
argcomplete
boltons
construct
more-itertools
platformdirs
pydantic
tabulate
zstandard
];
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
nativeCheckInputs =
with python3.pkgs;
[
pytestCheckHook
pytest-asyncio
]
++ [
addBinToPathHook
];
pythonImportsCheck = [ "gallia" ];
meta = {
description = "Extendable Pentesting Framework for the Automotive Domain";
homepage = "https://github.com/Fraunhofer-AISEC/gallia";
changelog = "https://github.com/Fraunhofer-AISEC/gallia/releases/tag/v${version}";
license = with lib.licenses; [ asl20 ];
maintainers = with lib.maintainers; [
fab
rumpelsepp
];
platforms = lib.platforms.linux;
};
}