Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / lineedit / default.nix
blob5631054627646063b0d0784152145632c818ad30
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pygments
5 , six
6 , wcwidth
7 , pytestCheckHook
8 , pyte
9 , ptyprocess
10 , pexpect
13 buildPythonPackage rec {
14   pname = "lineedit";
15   version = "0.1.6";
17   src = fetchFromGitHub {
18     owner = "randy3k";
19     repo = pname;
20     rev = "v${version}";
21     sha256 = "fq2NpjIQkIq1yzXEUxi6cz80kutVqcH6MqJXHtpTFsk=";
22   };
24   propagatedBuildInputs = [
25     pygments
26     six
27     wcwidth
28   ];
30   nativeCheckInputs = [
31     pytestCheckHook
32     pyte
33     pexpect
34     ptyprocess
35   ];
37   pythonImportsCheck = [ "lineedit" ];
39   meta = with lib; {
40     description = "A readline library based on prompt_toolkit which supports multiple modes";
41     homepage = "https://github.com/randy3k/lineedit";
42     license = licenses.mit;
43     maintainers = with maintainers; [ savyajha ];
44   };