diff --git a/pkgs/development/python-modules/casbin/default.nix b/pkgs/development/python-modules/casbin/default.nix index d26cd7e99855..9150e1c5298b 100644 --- a/pkgs/development/python-modules/casbin/default.nix +++ b/pkgs/development/python-modules/casbin/default.nix @@ -2,22 +2,23 @@ , buildPythonPackage , fetchFromGitHub , simpleeval -, isPy27 +, pythonOlder , coveralls , wcmatch }: buildPythonPackage rec { pname = "casbin"; - version = "1.9.6"; + version = "1.9.7"; + format = "setuptools"; - disabled = isPy27; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = pname; repo = "pycasbin"; rev = "v${version}"; - sha256 = "0r3pmkcgmsk3z6iy714fpg05mrs4ckb7ldyjsws6hwidcijha8rk"; + sha256 = "sha256-wNygKs37PtMLij3f+pAh6PNLqQ45cvrpF43Aj+cO8p8="; }; propagatedBuildInputs = [