Files
nixpkgs/pkgs/development/python-modules/getch/default.nix
T
Fabian Affolter 1bc16bde94 python313Packages.getch: init at 1.0
Does single char input, like C getch/getche

https://pypi.org/project/getch/
2026-01-13 20:45:11 +01:00

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 ];
};
})