1{
2 buildPythonPackage,
3 fetchPypi,
4 setuptools,
5 lib,
6 pythonOlder,
7}:
8buildPythonPackage rec {
9 pname = "pwinput";
10 version = "1.0.3";
11
12 pyproject = true;
13
14 disabled = pythonOlder "3.7";
15
16 src = fetchPypi {
17 inherit version;
18 pname = "pwinput";
19 hash = "sha256-yhqL0G4ohy11Hb1BMthjcSfCW0COo6NJN3MUpUkUJvM=";
20 };
21
22 build-system = [ setuptools ];
23
24 pythonImportsCheck = [ "pwinput" ];
25
26 # Requires graphical environment to use pyautogui
27 doCheck = false;
28
29 meta = {
30 description = "Python module that masks password input";
31 homepage = "https://github.com/asweigart/pwinput";
32 license = lib.licenses.mit;
33 maintainers = with lib.maintainers; [ bwkam ];
34 };
35}