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