nixpkgs/pkgs/by-name/ga/gallia/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

69 lines
1.3 KiB
Nix
Raw Normal View History

2024-04-12 07:14:17 +00:00
{
lib,
fetchFromGitHub,
python3,
cacert,
2022-09-18 14:02:54 +00:00
}:
python3.pkgs.buildPythonApplication rec {
pname = "gallia";
2024-08-20 10:28:39 +00:00
version = "1.9.0";
pyproject = true;
2022-09-18 14:02:54 +00:00
src = fetchFromGitHub {
owner = "Fraunhofer-AISEC";
repo = "gallia";
2022-09-18 14:02:54 +00:00
rev = "refs/tags/v${version}";
2024-08-20 10:28:39 +00:00
hash = "sha256-izMTTZrp4aizq5jS51BNtq3lv9Kr+xI7scZfYKXA/oY=";
2022-09-18 14:02:54 +00:00
};
pythonRelaxDeps = [ "aiofiles" ];
2024-04-12 07:13:53 +00:00
2024-04-12 07:14:17 +00:00
build-system = with python3.pkgs; [ poetry-core ];
2024-03-12 01:57:47 +00:00
2024-04-12 07:13:53 +00:00
dependencies = with python3.pkgs; [
2022-09-18 14:02:54 +00:00
aiofiles
aiohttp
aiosqlite
argcomplete
python-can
exitcode
construct
httpx
more-itertools
msgspec
platformdirs
psutil
2022-09-18 14:02:54 +00:00
pydantic
2023-01-11 08:45:30 +00:00
pygit2
2022-09-18 14:02:54 +00:00
tabulate
2023-01-11 08:45:30 +00:00
tomli
2022-09-18 14:02:54 +00:00
zstandard
];
2023-01-11 08:45:30 +00:00
SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt";
nativeCheckInputs = with python3.pkgs; [
2022-09-18 14:02:54 +00:00
pytestCheckHook
2023-01-11 08:45:30 +00:00
pytest-asyncio
2022-09-18 14:02:54 +00:00
];
2024-04-12 07:14:17 +00:00
pythonImportsCheck = [ "gallia" ];
2022-09-18 14:02:54 +00:00
preCheck = ''
export PATH=$out/bin:$PATH
'';
meta = with lib; {
2023-01-11 08:45:30 +00:00
description = "Extendable Pentesting Framework for the Automotive Domain";
2022-09-18 14:02:54 +00:00
homepage = "https://github.com/Fraunhofer-AISEC/gallia";
2023-02-09 11:53:46 +00:00
changelog = "https://github.com/Fraunhofer-AISEC/gallia/releases/tag/v${version}";
2022-09-18 14:02:54 +00:00
license = with licenses; [ asl20 ];
2024-04-12 07:14:17 +00:00
maintainers = with maintainers; [
fab
rumpelsepp
];
2023-01-11 08:45:30 +00:00
platforms = platforms.linux;
2022-09-18 14:02:54 +00:00
};
}