anki-bin: 24.06.3 -> 24.11 (#360722)
[NixPkgs.git] / pkgs / development / python-modules / policy-sentry / default.nix
blob48e4f60ca5b885e92d210bd45466d8547387aae2
2   lib,
3   beautifulsoup4,
4   buildPythonPackage,
5   click,
6   fetchFromGitHub,
7   orjson,
8   pytestCheckHook,
9   pythonOlder,
10   pyyaml,
11   requests,
12   schema,
13   setuptools,
16 buildPythonPackage rec {
17   pname = "policy-sentry";
18   version = "0.13.2";
19   pyproject = true;
21   disabled = pythonOlder "3.8";
23   src = fetchFromGitHub {
24     owner = "salesforce";
25     repo = "policy_sentry";
26     rev = "refs/tags/${version}";
27     hash = "sha256-J6dLKmfZJSU9k64PzOAOTgYvRf9NCpWtYuFEUxrfT5M=";
28   };
30   build-system = [ setuptools ];
32   dependencies = [
33     beautifulsoup4
34     click
35     orjson
36     pyyaml
37     requests
38     schema
39   ];
41   nativeCheckInputs = [ pytestCheckHook ];
43   pythonImportsCheck = [ "policy_sentry" ];
45   meta = with lib; {
46     description = "Python module for generating IAM least privilege policies";
47     homepage = "https://github.com/salesforce/policy_sentry";
48     changelog = "https://github.com/salesforce/policy_sentry/releases/tag/${version}";
49     license = licenses.bsd3;
50     maintainers = with maintainers; [ fab ];
51     mainProgram = "policy_sentry";
52   };