1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, isPy3k
5, prompt-toolkit }:
6
7buildPythonPackage rec {
8 pname = "clintermission";
9 version = "0.2.0";
10 format = "setuptools";
11
12 disabled = !isPy3k;
13
14 src = fetchFromGitHub {
15 owner = "sebageek";
16 repo = pname;
17 rev = "v${version}";
18 sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
19 };
20
21 propagatedBuildInputs = [
22 prompt-toolkit
23 ];
24
25 # repo contains no tests
26 doCheck = false;
27
28 pythonImportsCheck = [
29 "clintermission"
30 ];
31
32 meta = with lib; {
33 description = "Non-fullscreen command-line selection menu";
34 homepage = "https://github.com/sebageek/clintermission";
35 license = licenses.asl20;
36 maintainers = with maintainers; [ SuperSandro2000 ];
37 };
38}