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