python3Packages.simple-term-menu: init at 1.6.4

This commit is contained in:
Syed Moiz Ur Rehman 2023-12-17 14:25:43 +05:00
parent d7324eb2c9
commit 50e01aa1cc
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
}:
buildPythonPackage rec {
pname = "simple-term-menu";
version = "1.6.4";
pyproject = true;
disabled = pythonOlder "3.4";
src = fetchPypi {
inherit pname version;
hash = "sha256-vpxdvY3xKkBLFM2Oldb8AtWMYOJVX2Xd3kF3fEh/s7k=";
};
nativeBuildInputs = [ setuptools ];
pythonImportsCheck = [ "simple_term_menu" ];
# no unit tests in the upstream
doCheck = false;
meta = with lib; {
description = "A Python package which creates simple interactive menus on the command line";
homepage = "https://github.com/IngoMeyer441/simple-term-menu";
license = licenses.mit;
changelog = "https://github.com/IngoMeyer441/simple-term-menu/releases/tag/v${version}";
maintainers = with maintainers; [ smrehman ];
};
}

View File

@ -13122,6 +13122,8 @@ self: super: with self; {
simber = callPackage ../development/python-modules/simber { };
simple-term-menu = callPackage ../development/python-modules/simple-term-menu { };
simpleaudio = callPackage ../development/python-modules/simpleaudio { };
simplebayes = callPackage ../development/python-modules/simplebayes { };