Files
nixpkgs/pkgs/development/python-modules/lineedit/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

48 lines
837 B
Nix

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