1{
2 lib,
3 buildPythonPackage,
4 pythonOlder,
5 fetchPypi,
6 setuptools,
7 pyyaml,
8}:
9
10buildPythonPackage rec {
11 pname = "pyngrok";
12 version = "7.1.6";
13 pyproject = true;
14
15 disabled = pythonOlder "3.8";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-BcD8pjQJE2WKvdxiOgpTknrO2T4n/++AHSSBS8sYDqo=";
20 };
21
22 nativeBuildInputs = [ setuptools ];
23
24 propagatedBuildInputs = [ pyyaml ];
25
26 pythonImportsCheck = [ "pyngrok" ];
27
28 meta = with lib; {
29 description = "A Python wrapper for ngrok";
30 homepage = "https://github.com/alexdlaird/pyngrok";
31 changelog = "https://github.com/alexdlaird/pyngrok/blob/${version}/CHANGELOG.md";
32 license = licenses.mit;
33 maintainers = with maintainers; [ wegank ];
34 };
35}