Merge pull request #191802 from fabaff/gallia

gallia: init at 1.0.3
This commit is contained in:
Fabian Affolter 2022-09-25 22:52:54 +02:00 committed by GitHub
commit 0a891d3648
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,62 @@
{ lib
, stdenv
, 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 ];
broken = stdenv.isDarwin;
};
}

View file

@ -18387,6 +18387,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 { };