3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages: normalise prompt_toolkit

This commit is contained in:
Sandro Jäckel 2021-07-22 17:02:31 +02:00
parent 8dfc51d9c3
commit 183c7ebcae
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
33 changed files with 55 additions and 54 deletions

View file

@ -7,7 +7,7 @@ let
self = py;
# not compatible with prompt_toolkit >=2.0
prompt_toolkit = super.prompt_toolkit.overridePythonAttrs (oldAttrs: rec {
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
name = "${oldAttrs.pname}-${version}";
version = "1.0.18";
src = oldAttrs.src.override {
@ -37,7 +37,7 @@ buildPythonApplication rec {
colorama
requests
pygments
prompt_toolkit
prompt-toolkit
six
];

View file

@ -17,7 +17,7 @@ buildPythonApplication rec {
arrow
icalendar
glibcLocales
prompt_toolkit
prompt-toolkit
urwid
watchdog
];

View file

@ -31,7 +31,7 @@ in python.pkgs.buildPythonPackage {
propagatedBuildInputs = with python.pkgs; [
aiohttp-cors yarl aiohttp multidict setuptools
jinja2 psutil zipstream sentry-sdk jsonschema distro async_generator aiofiles
prompt_toolkit py-cpuinfo
prompt-toolkit py-cpuinfo
];
# Requires network access

View file

@ -1,6 +1,6 @@
{ lib, stdenv, buildPythonApplication, fetchFromGitHub, pythonOlder,
attrs, aiohttp, appdirs, click, keyring, Logbook, peewee, janus,
prompt_toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
prompt-toolkit, matrix-nio, dbus-python, pydbus, notify2, pygobject3,
setuptools, fetchpatch, installShellFiles,
pytest, faker, pytest-aiohttp, aioresponses,
@ -40,7 +40,7 @@ buildPythonApplication rec {
Logbook
matrix-nio
peewee
prompt_toolkit
prompt-toolkit
setuptools
] ++ lib.optional enableDbusUi [
dbus-python

View file

@ -4,7 +4,7 @@
, colorama
, fetchPypi
, minikerberos
, prompt_toolkit
, prompt-toolkit
, pycryptodomex
, pythonOlder
, six
@ -27,7 +27,7 @@ buildPythonPackage rec {
asysocks
colorama
minikerberos
prompt_toolkit
prompt-toolkit
pycryptodomex
six
tqdm

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, click, prompt_toolkit }:
{ lib, buildPythonPackage, fetchPypi, click, prompt-toolkit }:
buildPythonPackage rec {
pname = "click-repl";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "cd12f68d745bf6151210790540b4cb064c7b13e571bc64b6957d98d120dacfd8";
};
propagatedBuildInputs = [ click prompt_toolkit ];
propagatedBuildInputs = [ click prompt-toolkit ];
meta = with lib; {
homepage = "https://github.com/click-contrib/click-repl";

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchPypi
, click
, prompt_toolkit
, prompt-toolkit
, pygments
, requests
, sqlparse
@ -19,7 +19,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
click
prompt_toolkit
prompt-toolkit
pygments
requests
sqlparse

View file

@ -1,4 +1,4 @@
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt_toolkit }:
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt-toolkit }:
buildPythonApplication rec {
pname = "clintermission";
@ -11,7 +11,7 @@ buildPythonApplication rec {
sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
};
propagatedBuildInputs = [ prompt_toolkit ];
propagatedBuildInputs = [ prompt-toolkit ];
disabled = !isPy3k;

View file

@ -7,7 +7,7 @@
, mypy
, pygments
, pytestCheckHook
, prompt_toolkit
, prompt-toolkit
, tkinter
, watchdog
}:
@ -23,7 +23,7 @@ buildPythonApplication rec {
sha256 = "1pz13vza3yy95dbylnq89fzc3mwgcqr7ds096wy25k6vxd9dp9c3";
};
propagatedBuildInputs = [ cpyparsing pygments prompt_toolkit ipykernel mypy watchdog ];
propagatedBuildInputs = [ cpyparsing pygments prompt-toolkit ipykernel mypy watchdog ];
patches = [
(fetchpatch {

View file

@ -19,7 +19,7 @@
, requests
, simplegeneric
, traitlets
, prompt_toolkit
, prompt-toolkit
, pexpect
, appnope
}:
@ -51,7 +51,7 @@ buildPythonPackage rec {
checkInputs = [ nose pygments testpath ] ++ lib.optional isPy27 mock;
propagatedBuildInputs = [
backports_shutil_get_terminal_size decorator pickleshare prompt_toolkit
backports_shutil_get_terminal_size decorator pickleshare prompt-toolkit
simplegeneric traitlets requests pathlib2 pexpect
] ++ lib.optionals stdenv.isDarwin [ appnope ];

View file

@ -13,7 +13,7 @@
, decorator
, pickleshare
, traitlets
, prompt_toolkit
, prompt-toolkit
, pexpect
, appnope
, backcall
@ -43,7 +43,7 @@ buildPythonPackage rec {
decorator
pickleshare
traitlets
prompt_toolkit
prompt-toolkit
pygments
pexpect
backcall

View file

@ -14,7 +14,7 @@
, matplotlib-inline
, pickleshare
, traitlets
, prompt_toolkit
, prompt-toolkit
, pexpect
, appnope
, backcall
@ -45,7 +45,7 @@ buildPythonPackage rec {
matplotlib-inline
pickleshare
traitlets
prompt_toolkit
prompt-toolkit
pygments
pexpect
backcall

View file

@ -5,7 +5,7 @@
, jupyter_client
, ipython
, ipykernel
, prompt_toolkit
, prompt-toolkit
, pygments
}:
@ -23,7 +23,7 @@ buildPythonPackage rec {
jupyter_client
ipython
ipykernel
prompt_toolkit
prompt-toolkit
pygments
];

View file

@ -5,7 +5,7 @@
, jupyter_client
, ipython
, ipykernel
, prompt_toolkit
, prompt-toolkit
, pygments
, pythonOlder
}:
@ -24,7 +24,7 @@ buildPythonPackage rec {
jupyter_client
ipython
ipykernel
prompt_toolkit
prompt-toolkit
pygments
];
checkInputs = [ nose ];

View file

@ -4,7 +4,7 @@
, asn1crypto
, asysocks
, minikerberos
, prompt_toolkit
, prompt-toolkit
, tqdm
, winacl
, winsspi
@ -23,7 +23,7 @@ buildPythonPackage rec {
asn1crypto
asysocks
minikerberos
prompt_toolkit
prompt-toolkit
tqdm
winacl
winsspi

View file

@ -2,7 +2,7 @@
, requests, filetype, pyparsing, configparser, arxiv2bib
, pyyaml, chardet, beautifulsoup4, colorama, bibtexparser
, click, python-slugify, habanero, isbnlib, typing-extensions
, prompt_toolkit, pygments, stevedore, tqdm, lxml
, prompt-toolkit, pygments, stevedore, tqdm, lxml
, python-doi, isPy3k, pytest-cov
#, optional, dependencies
, whoosh, pytest
@ -26,7 +26,7 @@ buildPythonPackage rec {
requests filetype pyparsing configparser arxiv2bib
pyyaml chardet beautifulsoup4 colorama bibtexparser
click python-slugify habanero isbnlib
prompt_toolkit pygments typing-extensions
prompt-toolkit pygments typing-extensions
stevedore tqdm lxml
python-doi
# optional dependencies

View file

@ -4,7 +4,7 @@
, importlib-metadata
, isPy3k
, jedi
, prompt_toolkit
, prompt-toolkit
, pygments
}:
@ -22,7 +22,7 @@ buildPythonPackage rec {
appdirs
black # yes, this is in install_requires
jedi
prompt_toolkit
prompt-toolkit
pygments
] ++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];

View file

@ -3,7 +3,7 @@
, buildPythonPackage
, click
, fetchFromGitHub
, prompt_toolkit
, prompt-toolkit
, pycryptodome
, pythonOlder
}:
@ -23,7 +23,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
click
prompt_toolkit
prompt-toolkit
pycryptodome
];

View file

@ -5,7 +5,7 @@
, click
, fetchFromGitHub
, mock
, prompt_toolkit
, prompt-toolkit
, pygments
, pyserial
, pyserial-asyncio
@ -31,7 +31,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
click
prompt_toolkit
prompt-toolkit
pygments
pyserial
pyserial-asyncio

View file

@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, poetry
, prompt_toolkit
, prompt-toolkit
, pytest-cov
, pytestCheckHook
}:
@ -24,7 +24,7 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
prompt_toolkit
prompt-toolkit
];
checkInputs = [

View file

@ -5,7 +5,7 @@
, ptable
, click
, requests
, prompt_toolkit
, prompt-toolkit
, pygments
, urllib3
, pytest
@ -20,9 +20,9 @@ buildPythonPackage rec {
version = "5.8.4";
disabled = isPy27;
propagatedBuildInputs = [ ptable click requests prompt_toolkit pygments urllib3 ];
propagatedBuildInputs = [ ptable click requests prompt-toolkit pygments urllib3 ];
checkInputs = [ pytest pytest-cov mock sphinx testtools ptable click requests prompt_toolkit pygments urllib3 ];
checkInputs = [ pytest pytest-cov mock sphinx testtools ptable click requests prompt-toolkit pygments urllib3 ];
checkPhase = ''
pytest

View file

@ -16,7 +16,7 @@ python3Packages.buildPythonApplication rec {
cli-helpers
click
configobj
prompt_toolkit
prompt-toolkit
pygments
sqlparse
];

View file

@ -6,7 +6,7 @@
, click
, configobj
, humanize
, prompt_toolkit
, prompt-toolkit
, psycopg2
, pygments
, sqlparse
@ -34,7 +34,7 @@ buildPythonApplication rec {
click
configobj
humanize
prompt_toolkit
prompt-toolkit
psycopg2
pygments
sqlparse

View file

@ -41,7 +41,7 @@ python3Packages.buildPythonApplication rec {
checkInputs = [ python3Packages.pytest python3Packages.pytest-rerunfailures glibcLocales git ];
propagatedBuildInputs = with python3Packages; [ ply prompt_toolkit pygments ];
propagatedBuildInputs = with python3Packages; [ ply prompt-toolkit pygments ];
meta = with lib; {
description = "A Python-ish, BASHwards-compatible shell";

View file

@ -11,7 +11,7 @@ let
sha256 = "sha256-iAZmqnffqrmFuxlQyOpEQzSCcL/hRAjuXKulOXoy4hY=";
};
});
prompt_toolkit = super.prompt_toolkit.overridePythonAttrs (oldAttrs: rec {
prompt-toolkit = super.prompt-toolkit.overridePythonAttrs (oldAttrs: rec {
version = "2.0.10";
src = oldAttrs.src.override {
inherit version;
@ -62,7 +62,7 @@ with py.pkgs; buildPythonApplication rec {
docutils
groff
less
prompt_toolkit
prompt-toolkit
pyyaml
rsa
ruamel_yaml

View file

@ -20,7 +20,7 @@ buildPythonApplication rec {
configobj
importlib-resources
paramiko
prompt_toolkit
prompt-toolkit
pyaes
pycrypto
pygments

View file

@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
sha256 = "qvDGVJcaMXUajdUQWl4W1dost8k0PsS9XX/o8uQrtfY=";
};
propagatedBuildInputs = with python3Packages; [ rich prompt_toolkit requests pygments pyyaml more-itertools ];
propagatedBuildInputs = with python3Packages; [ rich prompt-toolkit requests pygments pyyaml more-itertools ];
checkPhase = ''
$out/bin/piston --help > /dev/null

View file

@ -15,7 +15,7 @@ python3Packages.buildPythonApplication rec {
click
httpie
parsimonious
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
(python.pkgs.callPackage ../../../development/python-modules/prompt-toolkit/1.nix {})
pygments
six
];

View file

@ -13,7 +13,7 @@ python3Packages.buildPythonApplication rec {
# Requires having the physical onlykey (a usb security key)
doCheck = false;
propagatedBuildInputs =
with python3Packages; [ hidapi aenum six prompt_toolkit pynacl ecdsa cython ];
with python3Packages; [ hidapi aenum six prompt-toolkit pynacl ecdsa cython ];
meta = with lib; {
description = "OnlyKey client and command-line tool";

View file

@ -27,7 +27,7 @@ python3.pkgs.buildPythonApplication rec {
cchardet
click
colorama
prompt_toolkit
prompt-toolkit
xpath-expressions
];

View file

@ -53,6 +53,7 @@ mapAliases ({
lammps-cython = throw "no longer builds and is unmaintained";
MechanicalSoup = mechanicalsoup; # added 2021-06-01
privacyidea = throw "renamed to pkgs.privacyidea"; # added 2021-06-20
prompt_toolkit = prompt-toolkit;
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
pytestcov = pytest-cov; # added 2021-01-04

View file

@ -5603,7 +5603,7 @@ in {
promise = callPackage ../development/python-modules/promise { };
prompt_toolkit = callPackage ../development/python-modules/prompt_toolkit { };
prompt-toolkit = callPackage ../development/python-modules/prompt-toolkit { };
property-manager = callPackage ../development/python-modules/property-manager { };

View file

@ -403,7 +403,7 @@ with self; with super; {
progressbar231 = callPackage ../development/python-modules/progressbar231 { };
prompt_toolkit = callPackage ../development/python-modules/prompt_toolkit/1.nix { };
prompt-toolkit = callPackage ../development/python-modules/prompt-toolkit/1.nix { };
pyamf = callPackage ../development/python-modules/pyamf { };