Merge pull request #313615 from fabaff/websecprobe-darwin

websecprobe: limit platform support
This commit is contained in:
Weijia Wang 2024-05-22 13:55:14 +02:00 committed by GitHub
commit decb77d805
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,7 @@
{ lib
, python3
, fetchPypi
{
lib,
python3,
fetchPypi,
}:
python3.pkgs.buildPythonApplication rec {
@ -14,9 +15,7 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-RX4tc6JaUVaNx8nidn8eMcbsmbcSY+VZbup6c6P7oOs=";
};
build-system = with python3.pkgs; [
setuptools
];
build-system = with python3.pkgs; [ setuptools ];
dependencies = with python3.pkgs; [
requests
@ -27,9 +26,7 @@ python3.pkgs.buildPythonApplication rec {
mv $out/bin/WebSecProbe $out/bin/$pname
'';
pythonImportsCheck = [
"WebSecProbe"
];
pythonImportsCheck = [ "WebSecProbe" ];
meta = with lib; {
description = "Web Security Assessment Tool";
@ -38,5 +35,6 @@ python3.pkgs.buildPythonApplication rec {
license = licenses.mit;
maintainers = with maintainers; [ fab ];
mainProgram = "websecprobe";
platforms = platforms.linux;
};
}