mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 13:13:33 +00:00
ddf49610fe
Diff: https://github.com/salesforce/policy_sentry/compare/refs/tags/0.12.9...0.12.10 Changelog: https://github.com/salesforce/policy_sentry/releases/tag/0.12.10
51 lines
984 B
Nix
51 lines
984 B
Nix
{ lib
|
|
, beautifulsoup4
|
|
, buildPythonPackage
|
|
, click
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
, pyyaml
|
|
, requests
|
|
, schema
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "policy-sentry";
|
|
version = "0.12.10";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "salesforce";
|
|
repo = "policy_sentry";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-Kha5fq5l1yXWjDZq9GFKk3gYRtrEyiCFjbEAdYGPSa8=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
beautifulsoup4
|
|
click
|
|
requests
|
|
pyyaml
|
|
schema
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"policy_sentry"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for generating IAM least privilege policies";
|
|
homepage = "https://github.com/salesforce/policy_sentry";
|
|
changelog = "https://github.com/salesforce/policy_sentry/releases/tag/${version}";
|
|
license = licenses.bsd3;
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|