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