gallia: init at 1.0.3

This commit is contained in:
Fabian Affolter 2022-09-18 16:02:54 +02:00
parent 12f1449d2b
commit a9da0a7de2
2 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,60 @@
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "gallia";
version = "1.0.3";
format = "pyproject";
src = fetchFromGitHub {
owner = "Fraunhofer-AISEC";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-CoZ3niGuEjcaSyIGc0MIy95v64nTbhgqW/0uz4a/f1o=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
aiofiles
aiohttp
aiosqlite
argcomplete
can
construct
msgspec
pydantic
tabulate
tomlkit
xdg
zstandard
];
checkInputs = with python3.pkgs; [
pytestCheckHook
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'zstandard = "^0.17.0"' 'zstandard = "*"'
'';
pythonImportsCheck = [
"gallia"
];
preCheck = ''
export PATH=$out/bin:$PATH
'';
meta = with lib; {
description = "Pentesting framework with the focus on the automotive domain";
homepage = "https://github.com/Fraunhofer-AISEC/gallia";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -18391,6 +18391,8 @@ with pkgs;
galer = callPackage ../tools/security/galer { };
gallia = callPackage ../tools/security/gallia { };
gamenetworkingsockets = callPackage ../development/libraries/gamenetworkingsockets { };
game-music-emu = callPackage ../development/libraries/audio/game-music-emu { };