Merge pull request #203730 from r-ryantm/auto-update/python3.10-ptpython
python310Packages.ptpython: 3.0.20 -> 3.0.21
This commit is contained in:
commit
4d5581529a
@ -1,4 +1,7 @@
|
||||
{ lib, buildPythonPackage, pythonOlder, fetchPypi
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, pythonOlder
|
||||
, fetchPypi
|
||||
, appdirs
|
||||
, black
|
||||
, importlib-metadata
|
||||
@ -10,12 +13,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ptpython";
|
||||
version = "3.0.20";
|
||||
disabled = !isPy3k;
|
||||
version = "3.0.21";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "eafd4ced27ca5dc370881d4358d1ab5041b32d88d31af8e3c24167fe4af64ed6";
|
||||
hash = "sha256-pXuZUurEoSVApN+0zNSiQ0A+zrJ7DRMkW15BRMhzHTI=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@ -24,14 +29,21 @@ buildPythonPackage rec {
|
||||
jedi
|
||||
prompt-toolkit
|
||||
pygments
|
||||
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
] ++ lib.optionals (pythonOlder "3.8") [
|
||||
importlib-metadata
|
||||
];
|
||||
|
||||
# no tests to run
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"ptpython"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "An advanced Python REPL";
|
||||
homepage = "https://github.com/prompt-toolkit/ptpython";
|
||||
changelog = "https://github.com/prompt-toolkit/ptpython/blob/${version}/CHANGELOG";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ mlieberman85 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user