nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5}:
6
7buildPythonPackage rec {
8 pname = "policyuniverse";
9 version = "1.5.1.20231109";
10 format = "setuptools";
11
12 src = fetchPypi {
13 inherit pname version;
14 hash = "sha256-dOVtQQVgkVwsUTLjYbATDkv/4xKi9FIw6sUNfAlLxAo=";
15 };
16
17 # Tests are not shipped and there are no GitHub tags
18 doCheck = false;
19
20 pythonImportsCheck = [ "policyuniverse" ];
21
22 meta = {
23 description = "Parse and Process AWS IAM Policies, Statements, ARNs and wildcards";
24 homepage = "https://github.com/Netflix-Skunkworks/policyuniverse";
25 license = with lib.licenses; [ asl20 ];
26 maintainers = with lib.maintainers; [ fab ];
27 };
28}