blob: 09bc33523fd193ba8cc61555470ed39b2369cb53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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 ];
};
})
|