Merge pull request #313614 from fabaff/boiboite-opener-framework-darwin
python312Packages.boiboite-opener-framework: limit platform support
This commit is contained in:
commit
bf17552a60
@ -1,17 +1,19 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, scapy
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
packaging,
|
||||
pytestCheckHook,
|
||||
pythonOlder,
|
||||
pythonRelaxDepsHook,
|
||||
scapy,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "boiboite-opener-framework";
|
||||
version = "1.2.1";
|
||||
format = "setuptools";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
@ -27,18 +29,16 @@ buildPythonPackage rec {
|
||||
--replace "scapy==2.5.0rc1" "scapy"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
packaging
|
||||
scapy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"bof"
|
||||
];
|
||||
pythonImportsCheck = [ "bof" ];
|
||||
|
||||
disabledTests = [
|
||||
# Tests are using netcat and cat to do UDP connections
|
||||
@ -75,5 +75,6 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/Orange-Cyberdefense/bof/releases/tag/${version}";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user