about summary refs log tree commit diff
path: root/pkgs/development/python-modules/casbin
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-08-08 22:13:27 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-08-08 22:13:27 +0200
commit575bab3e78da896558edfa0e516cf18c19e7c762 (patch)
tree54c9ce0be9d23a995cec735b750e7e2df06e62b8 /pkgs/development/python-modules/casbin
parent55ce48fc2b6bc0263ffa63c241e94612f99d63c6 (diff)
python310Packages.casbin: 1.16.9 -> 1.17.0
Diffstat (limited to 'pkgs/development/python-modules/casbin')
-rw-r--r--pkgs/development/python-modules/casbin/default.nix16
1 files changed, 6 insertions, 10 deletions
diff --git a/pkgs/development/python-modules/casbin/default.nix b/pkgs/development/python-modules/casbin/default.nix
index e98ee9d4fe39d..2e027eaa990c4 100644
--- a/pkgs/development/python-modules/casbin/default.nix
+++ b/pkgs/development/python-modules/casbin/default.nix
@@ -1,15 +1,15 @@
 { lib
 , buildPythonPackage
 , fetchFromGitHub
-, simpleeval
+, pytestCheckHook
 , pythonOlder
-, coveralls
+, simpleeval
 , wcmatch
 }:
 
 buildPythonPackage rec {
   pname = "casbin";
-  version = "1.16.9";
+  version = "1.17.0";
   format = "setuptools";
 
   disabled = pythonOlder "3.6";
@@ -18,7 +18,7 @@ buildPythonPackage rec {
     owner = pname;
     repo = "pycasbin";
     rev = "refs/tags/v${version}";
-    sha256 = "sha256-1xxjFNkCb50ndmXuRjt7svPOvSyzZbw+J49Zpyy1FUc=";
+    hash = "sha256-fBMhrA4zL4XPjQ63AGc5jf585ZpHTBumPievDNfCw7o=";
   };
 
   propagatedBuildInputs = [
@@ -27,19 +27,15 @@ buildPythonPackage rec {
   ];
 
   checkInputs = [
-    coveralls
+    pytestCheckHook
   ];
 
-  checkPhase = ''
-    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";
+    description = "Authorization library that supports access control models like ACL, RBAC and ABAC";
     homepage = "https://github.com/casbin/pycasbin";
     license = licenses.asl20;
     maintainers = with maintainers; [ costrouc ];