ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / policy-sentry / default.nix
blobb1aac2f1e17417bef405af43f2b078a48a65285e
1 { lib
2 , beautifulsoup4
3 , buildPythonPackage
4 , click
5 , fetchFromGitHub
6 , pytestCheckHook
7 , pythonOlder
8 , pyyaml
9 , requests
10 , schema
13 buildPythonPackage rec {
14   pname = "policy-sentry";
15   version = "0.12.5";
16   disabled = pythonOlder "3.6";
18   src = fetchFromGitHub {
19     owner = "salesforce";
20     repo = "policy_sentry";
21     rev = "refs/tags/${version}";
22     sha256 = "sha256-DwWX8ztqnm/KYkiarG9KXkHcVxYE6Cc285oOMz9gkqc=";
23   };
25   propagatedBuildInputs = [
26     beautifulsoup4
27     click
28     requests
29     pyyaml
30     schema
31   ];
33   checkInputs = [
34     pytestCheckHook
35   ];
37   pythonImportsCheck = [ "policy_sentry" ];
39   meta = with lib; {
40     description = "Python module for generating IAM least privilege policies";
41     homepage = "https://github.com/salesforce/policy_sentry";
42     license = licenses.bsd3;
43     maintainers = with maintainers; [ fab ];
44   };