1bc16bde94
Does single char input, like C getch/getche https://pypi.org/project/getch/
32 lines
626 B
Nix
32 lines
626 B
Nix
{
|
|
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 ];
|
|
};
|
|
})
|