about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/click-repl/default.nix
blob: f8a8fc1c49f8cdd1fcecc3aacc531ec9a36f8bcf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ lib
, buildPythonPackage
, fetchFromGitHub
, click
, prompt-toolkit
, six
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "click-repl";
  version = "0.2.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "click-contrib";
    repo = "click-repl";
    rev = version;
    hash = "sha256-kaTUKaIomJL0u3NX40bL0I54vkR+Utcdw1QKSbnVy5s=";
  };

  propagatedBuildInputs = [
    click
    prompt-toolkit
    six
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  meta = with lib; {
    homepage = "https://github.com/click-contrib/click-repl";
    description = "Subcommand REPL for click apps";
    license = licenses.mit;
    maintainers = with maintainers; [ twey ];
  };
}