Merge pull request #172649 from r-ryantm/auto-update/python3.10-pglast

python310Packages.pglast: 3.9 -> 3.10

authored by Mario Rodas and committed by GitHub 91bcc883 d002de0a

+13 -9
+13 -9
pkgs/development/python-modules/pglast/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 - , isPy3k 5 , setuptools 6 , pytest 7 }: 8 9 buildPythonPackage rec { 10 pname = "pglast"; 11 - version = "3.9"; 12 13 src = fetchPypi { 14 inherit pname version; 15 - sha256 = "sha256-fwXOfQW+ybhROdgayOAsgaFjf8HHh5jr5xczkBnA40w="; 16 }; 17 18 - disabled = !isPy3k; 19 - 20 - # ModuleNotFoundError: No module named 'pkg_resources' 21 - propagatedBuildInputs = [ setuptools ]; 22 23 postPatch = '' 24 substituteInPlace setup.cfg \ 25 --replace "--cov=pglast --cov-report term-missing" "" 26 ''; 27 28 - checkInputs = [ pytest ]; 29 30 # pytestCheckHook doesn't work 31 # ImportError: cannot import name 'parse_sql' from 'pglast' ··· 38 description = "PostgreSQL Languages AST and statements prettifier"; 39 changelog = "https://github.com/lelit/pglast/raw/v${version}/CHANGES.rst"; 40 license = licenses.gpl3Plus; 41 - maintainers = [ maintainers.marsam ]; 42 }; 43 }
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 + , pythonOlder 5 , setuptools 6 , pytest 7 }: 8 9 buildPythonPackage rec { 10 pname = "pglast"; 11 + version = "3.10"; 12 + format = "setuptools"; 13 + 14 + disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 + hash = "sha256-rkoCtcBe5LBTTpmd+cj6s80UWXyTpMk74FipyK0t5go="; 19 }; 20 21 + propagatedBuildInputs = [ 22 + setuptools 23 + ]; 24 25 postPatch = '' 26 substituteInPlace setup.cfg \ 27 --replace "--cov=pglast --cov-report term-missing" "" 28 ''; 29 30 + checkInputs = [ 31 + pytest 32 + ]; 33 34 # pytestCheckHook doesn't work 35 # ImportError: cannot import name 'parse_sql' from 'pglast' ··· 42 description = "PostgreSQL Languages AST and statements prettifier"; 43 changelog = "https://github.com/lelit/pglast/raw/v${version}/CHANGES.rst"; 44 license = licenses.gpl3Plus; 45 + maintainers = with maintainers; [ marsam ]; 46 }; 47 }