mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
48 lines
834 B
Nix
48 lines
834 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 = pname;
|
|
rev = "v${version}";
|
|
sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
pygments
|
|
six
|
|
wcwidth
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
pyte
|
|
pexpect
|
|
ptyprocess
|
|
];
|
|
|
|
pythonImportsCheck = [ "lineedit" ];
|
|
|
|
meta = with lib; {
|
|
description = "Readline library based on prompt_toolkit which supports multiple modes";
|
|
homepage = "https://github.com/randy3k/lineedit";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ savyajha ];
|
|
};
|
|
}
|