gallia: init at 1.0.3
This commit is contained in:
parent
12f1449d2b
commit
a9da0a7de2
60
pkgs/tools/security/gallia/default.nix
Normal file
60
pkgs/tools/security/gallia/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue