Merge pull request #313614 from fabaff/boiboite-opener-framework-darwin

python312Packages.boiboite-opener-framework: limit platform support
This commit is contained in:
Weijia Wang 2024-05-22 13:54:28 +02:00 committed by GitHub
commit bf17552a60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
};
}