mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
Merge pull request #289246 from fabaff/prowler-bump
prowler: 3.12.1 -> 3.13.0, python311Packages.msgraph-sdk: init at 1.1.0
This commit is contained in:
commit
84d4e7e099
|
@ -1,39 +1,49 @@
|
|||
{ lib
|
||||
, python3
|
||||
, fetchFromGitHub
|
||||
{
|
||||
lib,
|
||||
python3,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "prowler";
|
||||
version = "3.12.1";
|
||||
version = "3.13.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prowler-cloud";
|
||||
repo = "prowler";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-QauDqeCa499AcZurGjn2Yv4GH04F/pahAH2ms7gAca4=";
|
||||
hash = "sha256-19B6b+xR+f7dIu/6eINsxs7UxuV96QdsNncodC8/N3Q=";
|
||||
};
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"azure-mgmt-security"
|
||||
"azure-storage-blob"
|
||||
"boto3"
|
||||
"botocore"
|
||||
"google-api-python-client"
|
||||
"jsonschema"
|
||||
"pydantic"
|
||||
"slack-sdk"
|
||||
"pydantic"
|
||||
];
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
poetry-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
build-system = with python3.pkgs; [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
dependencies = with python3.pkgs; [
|
||||
alive-progress
|
||||
awsipranges
|
||||
azure-identity
|
||||
azure-mgmt-applicationinsights
|
||||
azure-mgmt-authorization
|
||||
azure-mgmt-cosmosdb
|
||||
azure-mgmt-rdbms
|
||||
azure-mgmt-security
|
||||
azure-mgmt-sql
|
||||
azure-mgmt-storage
|
||||
|
@ -46,7 +56,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
google-api-python-client
|
||||
google-auth-httplib2
|
||||
jsonschema
|
||||
msgraph-core
|
||||
msgraph-sdk
|
||||
msrestazure
|
||||
pydantic_1
|
||||
schema
|
||||
|
@ -55,9 +65,7 @@ python3.pkgs.buildPythonApplication rec {
|
|||
tabulate
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"prowler"
|
||||
];
|
||||
pythonImportsCheck = [ "prowler" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Security tool for AWS, Azure and GCP to perform Cloud Security best practices assessments";
|
||||
|
|
54
pkgs/development/python-modules/msgraph-sdk/default.nix
Normal file
54
pkgs/development/python-modules/msgraph-sdk/default.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
lib,
|
||||
azure-identity,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
microsoft-kiota-abstractions,
|
||||
microsoft-kiota-authentication-azure,
|
||||
microsoft-kiota-http,
|
||||
microsoft-kiota-serialization-json,
|
||||
microsoft-kiota-serialization-text,
|
||||
msgraph-core,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "msgraph-sdk";
|
||||
version = "1.1.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "microsoftgraph";
|
||||
repo = "msgraph-sdk-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-fAchReqVhkVhT48UrTnBUQerHmgB7qxpey0xrgxIVDs=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
azure-identity
|
||||
microsoft-kiota-abstractions
|
||||
microsoft-kiota-authentication-azure
|
||||
microsoft-kiota-http
|
||||
microsoft-kiota-serialization-json
|
||||
microsoft-kiota-serialization-text
|
||||
msgraph-core
|
||||
];
|
||||
|
||||
# Module doesn't have tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "msgraph" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Microsoft Graph SDK for Python";
|
||||
homepage = "https://github.com/microsoftgraph/msgraph-sdk-python";
|
||||
changelog = "https://github.com/microsoftgraph/msgraph-sdk-python/blob/${version}/CHANGELOG.md";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -9558,6 +9558,8 @@ self: super: with self; {
|
|||
|
||||
msgraph-core = callPackage ../development/python-modules/msgraph-core { };
|
||||
|
||||
msgraph-sdk = callPackage ../development/python-modules/msgraph-sdk { };
|
||||
|
||||
multipart = callPackage ../development/python-modules/multipart { };
|
||||
|
||||
netmap = callPackage ../development/python-modules/netmap { };
|
||||
|
|
Loading…
Reference in a new issue