1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, click
5, prompt-toolkit
6, six
7, pytestCheckHook
8}:
9
10buildPythonPackage rec {
11 pname = "click-repl";
12 version = "0.2.0";
13
14 src = fetchFromGitHub {
15 owner = "click-contrib";
16 repo = "click-repl";
17 rev = version;
18 hash = "sha256-kaTUKaIomJL0u3NX40bL0I54vkR+Utcdw1QKSbnVy5s=";
19 };
20
21 propagatedBuildInputs = [
22 click
23 prompt-toolkit
24 six
25 ];
26
27 nativeCheckInputs = [
28 pytestCheckHook
29 ];
30
31 meta = with lib; {
32 homepage = "https://github.com/click-contrib/click-repl";
33 description = "Subcommand REPL for click apps";
34 license = licenses.mit;
35 maintainers = with maintainers; [ twey ];
36 };
37}