Merge pull request #250585 from fabaff/cerberus-bump

python311Packages.cerberus: 1.3.4 -> 1.3.5

authored by Fabian Affolter and committed by GitHub a06207bb 187e306c

+19 -16
+19 -16
pkgs/development/python-modules/cerberus/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 , setuptools 5 - , pytestCheckHook 6 }: 7 8 buildPythonPackage rec { 9 - pname = "Cerberus"; 10 - version = "1.3.4"; 11 12 src = fetchFromGitHub { 13 owner = "pyeve"; 14 repo = "cerberus"; 15 - rev = version; 16 - sha256 = "03kj15cf1pbd11mxsik96m5w1m6p0fbdc4ia5ihzmq8rz28razpq"; 17 }; 18 19 propagatedBuildInputs = [ 20 setuptools 21 ]; 22 ··· 24 pytestCheckHook 25 ]; 26 27 - preCheck = '' 28 - export TESTDIR=$(mktemp -d) 29 - cp -R ./cerberus/tests $TESTDIR 30 - pushd $TESTDIR 31 - ''; 32 - 33 - postCheck = '' 34 - popd 35 - ''; 36 - 37 pythonImportsCheck = [ 38 "cerberus" 39 ]; 40 41 meta = with lib; { 42 homepage = "http://python-cerberus.org/"; 43 - description = "Lightweight, extensible schema and data validation tool for Python dictionaries"; 44 license = licenses.mit; 45 }; 46 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchFromGitHub 4 + , poetry-core 5 + , pytestCheckHook 6 + , pythonOlder 7 , setuptools 8 }: 9 10 buildPythonPackage rec { 11 + pname = "cerberus"; 12 + version = "1.3.5"; 13 + format = "pyproject"; 14 + 15 + disabled = pythonOlder "3.9"; 16 17 src = fetchFromGitHub { 18 owner = "pyeve"; 19 repo = "cerberus"; 20 + rev = "refs/tags/${version}"; 21 + hash = "sha256-4sVNM4zHc9nsrntmJVdE9nm47CSF0UOJPPI9z3Z2YDc="; 22 }; 23 24 propagatedBuildInputs = [ 25 + poetry-core 26 setuptools 27 ]; 28 ··· 30 pytestCheckHook 31 ]; 32 33 pythonImportsCheck = [ 34 "cerberus" 35 ]; 36 37 + disabledTestPaths = [ 38 + # We don't care about benchmarks 39 + "cerberus/benchmarks/" 40 + ]; 41 + 42 meta = with lib; { 43 + description = "Schema and data validation tool for Python dictionaries"; 44 homepage = "http://python-cerberus.org/"; 45 + changelog = "https://github.com/pyeve/cerberus/blob/${version}/CHANGES.rst"; 46 license = licenses.mit; 47 + maintainers = with maintainers; [ fab ]; 48 }; 49 }