python313Packages.getch: init at 1.0
Does single char input, like C getch/getche https://pypi.org/project/getch/
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "getch";
|
||||
version = "1.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit (finalAttrs) pname version;
|
||||
hash = "sha256-psInF8EAUc5luPt73bFxr3BbEXXmlKc76VaZD2CJ2LE=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "getch" ];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Does single char input, like C getch/getche";
|
||||
homepage = "https://pypi.org/project/getch/";
|
||||
license = lib.licenses.publicDomain;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -6079,6 +6079,8 @@ self: super: with self; {
|
||||
|
||||
get-video-properties = callPackage ../development/python-modules/get-video-properties { };
|
||||
|
||||
getch = callPackage ../development/python-modules/getch { };
|
||||
|
||||
getjump = callPackage ../development/python-modules/getjump { };
|
||||
|
||||
getkey = callPackage ../development/python-modules/getkey { };
|
||||
|
||||
Reference in New Issue
Block a user