diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-22 23:13:48 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-09-22 23:13:48 +0200 |
commit | 713ebe34dff6fa8bb0d27d1c76d5004183c73b66 (patch) | |
tree | 9e7a0ebfec41c5f6ff7e064eab7379ea9075cb5a /pkgs/development/python-modules/casbin | |
parent | ea8ff5a1298c48db97d65c64acd64bce436d4329 (diff) | |
download | nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar.gz nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar.bz2 nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar.lz nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar.xz nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.tar.zst nixpkgs-713ebe34dff6fa8bb0d27d1c76d5004183c73b66.zip |
python3Packages.casbin: add missing dependency
Diffstat (limited to 'pkgs/development/python-modules/casbin')
-rw-r--r-- | pkgs/development/python-modules/casbin/default.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/casbin/default.nix b/pkgs/development/python-modules/casbin/default.nix index 47a6a48eaca..d88a431bc6f 100644 --- a/pkgs/development/python-modules/casbin/default.nix +++ b/pkgs/development/python-modules/casbin/default.nix @@ -4,6 +4,7 @@ , simpleeval , isPy27 , coveralls +, wcmatch }: buildPythonPackage rec { @@ -21,6 +22,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ simpleeval + wcmatch ]; checkInputs = [ @@ -31,10 +33,14 @@ buildPythonPackage rec { coverage run -m unittest discover -s tests -t tests ''; + pythonImportsCheck = [ + "casbin" + ]; + meta = with lib; { description = "An authorization library that supports access control models like ACL, RBAC, ABAC in Python"; homepage = "https://github.com/casbin/pycasbin"; license = licenses.asl20; - maintainers = [ maintainers.costrouc ]; + maintainers = with maintainers; [ costrouc ]; }; } |