about summary refs log tree commit diff
path: root/pkgs/development/python-modules/clintermission/default.nix
blob: b5df005978c4d9a7d17f7743cba7e0ebeaedd442 (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
, isPy3k
, prompt-toolkit }:

buildPythonPackage rec {
  pname = "clintermission";
  version = "0.2.0";
  format = "setuptools";

  disabled = !isPy3k;

  src = fetchFromGitHub {
    owner = "sebageek";
    repo = pname;
    rev = "v${version}";
    sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
  };

  propagatedBuildInputs = [
    prompt-toolkit
  ];

  # repo contains no tests
  doCheck = false;

  pythonImportsCheck = [
    "clintermission"
  ];

  meta = with lib; {
    description = "Non-fullscreen command-line selection menu";
    homepage = "https://github.com/sebageek/clintermission";
    license = licenses.asl20;
    maintainers = with maintainers; [ SuperSandro2000 ];
  };
}