Merge pull request #142766 from fabaff/bump-casbin

python3Packages.casbin: 1.9.2 -> 1.9.3
This commit is contained in:
Fabian Affolter 2021-10-26 08:14:02 +02:00 committed by GitHub
commit 479b480a90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 11 deletions

View file

@ -9,7 +9,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "casbin"; pname = "casbin";
version = "1.9.2"; version = "1.9.3";
disabled = isPy27; disabled = isPy27;
@ -17,7 +17,7 @@ buildPythonPackage rec {
owner = pname; owner = pname;
repo = "pycasbin"; repo = "pycasbin";
rev = "v${version}"; rev = "v${version}";
sha256 = "0awqdh4jsarf0lr2bl2qiaff1yk9vndq15jcl4abiig9wr2yghpc"; sha256 = "sha256-PN31/1BpXcNqsqBZ8sS/MM3UL47/Bi24bUh+jGOJevk=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [

View file

@ -1,16 +1,37 @@
{ lib, fetchPypi, buildPythonPackage }: { lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec { buildPythonPackage rec {
pname = "simpleeval"; pname = "simpleeval";
version = "0.9.10"; version = "0.9.11";
src = fetchPypi { format = "pyproject";
inherit pname version;
sha256 = "1skvl467kj83rzkhk01i0wm8m5vmh6j5znrfdizn6r18ii45a839"; src = fetchFromGitHub {
owner = "danthedeckie";
repo = pname;
rev = version;
sha256 = "111w76mahbf3lm2p72dkqp5fhwg7nvnwm4l078dgsgkixssjazi7";
}; };
meta = {
checkInputs = [
pytestCheckHook
];
pytestFlagsArray = [
"test_simpleeval.py"
];
pythonImportsCheck = [
"simpleeval"
];
meta = with lib; {
description = "Simple, safe single expression evaluator library";
homepage = "https://github.com/danthedeckie/simpleeval"; homepage = "https://github.com/danthedeckie/simpleeval";
description = "A simple, safe single expression evaluator library"; license = licenses.mit;
maintainers = with lib.maintainers; [ johbo ]; maintainers = with maintainers; [ johbo ];
license = lib.licenses.mit;
}; };
} }