Merge pull request #142766 from fabaff/bump-casbin
python3Packages.casbin: 1.9.2 -> 1.9.3
This commit is contained in:
commit
479b480a90
2 changed files with 32 additions and 11 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "casbin";
|
||||
version = "1.9.2";
|
||||
version = "1.9.3";
|
||||
|
||||
disabled = isPy27;
|
||||
|
||||
|
@ -17,7 +17,7 @@ buildPythonPackage rec {
|
|||
owner = pname;
|
||||
repo = "pycasbin";
|
||||
rev = "v${version}";
|
||||
sha256 = "0awqdh4jsarf0lr2bl2qiaff1yk9vndq15jcl4abiig9wr2yghpc";
|
||||
sha256 = "sha256-PN31/1BpXcNqsqBZ8sS/MM3UL47/Bi24bUh+jGOJevk=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
|
|
@ -1,16 +1,37 @@
|
|||
{ lib, fetchPypi, buildPythonPackage }:
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pytestCheckHook
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "simpleeval";
|
||||
version = "0.9.10";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1skvl467kj83rzkhk01i0wm8m5vmh6j5znrfdizn6r18ii45a839";
|
||||
version = "0.9.11";
|
||||
format = "pyproject";
|
||||
|
||||
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";
|
||||
description = "A simple, safe single expression evaluator library";
|
||||
maintainers = with lib.maintainers; [ johbo ];
|
||||
license = lib.licenses.mit;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ johbo ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue