Commit 0f1483d1 authored by Savyasachee Jha's avatar Savyasachee Jha
Browse files

python310Packages.lineedit: init at 0.1.6

parent f77c364d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";
+45 −0
Original line number Diff line number Diff line
{ 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 ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -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 { };