1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5 setuptools,
6}:
7
8buildPythonPackage rec {
9 pname = "simple-term-menu";
10 version = "1.6.6";
11 pyproject = true;
12
13 src = fetchFromGitHub {
14 owner = "IngoMeyer441";
15 repo = "simple-term-menu";
16 tag = "v${version}";
17 hash = "sha256-nfMqtyUalt/d/wTyRUlu5x4Q349ARY8hDMi8Ui4cTI4=";
18 };
19
20 nativeBuildInputs = [ setuptools ];
21
22 pythonImportsCheck = [ "simple_term_menu" ];
23
24 # no unit tests in the upstream
25 doCheck = false;
26
27 meta = with lib; {
28 description = "Python package which creates simple interactive menus on the command line";
29 mainProgram = "simple-term-menu";
30 homepage = "https://github.com/IngoMeyer441/simple-term-menu";
31 license = licenses.mit;
32 changelog = "https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v${version}";
33 maintainers = with maintainers; [ smrehman ];
34 };
35}