python310Packages.lineedit: init at 0.1.6

This commit is contained in:
Savyasachee Jha 2023-03-05 16:50:01 +05:30
parent f77c364def
commit 0f1483d1a2
3 changed files with 53 additions and 0 deletions

View File

@ -13103,6 +13103,12 @@
githubId = 8534888;
name = "Savanni D'Gerinel";
};
savyajha = {
email = "savya.jha@hawkradius.com";
github = "savyajha";
githubId = 3996019;
name = "Savyasachee Jha";
};
sayanarijit = {
email = "sayanarijit@gmail.com";
github = "sayanarijit";

View File

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pygments
, six
, wcwidth
, pytestCheckHook
, pyte
, ptyprocess
, pexpect
}:
buildPythonPackage rec {
pname = "lineedit";
version = "0.1.6";
src = fetchFromGitHub {
owner = "randy3k";
repo = pname;
rev = "v${version}";
sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk=";
};
propagatedBuildInputs = [
pygments
six
wcwidth
];
nativeCheckInputs = [
pytestCheckHook
pyte
pexpect
ptyprocess
];
pythonImportsCheck = [ "lineedit" ];
meta = with lib; {
description = "A readline library based on prompt_toolkit which supports multiple modes";
homepage = "https://github.com/randy3k/lineedit";
license = licenses.mit;
maintainers = with maintainers; [ savyajha ];
};
}

View File

@ -5492,6 +5492,8 @@ self: super: with self; {
linecache2 = callPackage ../development/python-modules/linecache2 { };
lineedit = callPackage ../development/python-modules/lineedit { };
line_profiler = callPackage ../development/python-modules/line_profiler { };
lingua = callPackage ../development/python-modules/lingua { };