2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
setuptools,
|
|
|
|
pyyaml,
|
2023-01-20 10:41:00 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyngrok";
|
2024-07-27 06:49:29 +00:00
|
|
|
version = "7.2.0";
|
2024-01-13 08:15:51 +00:00
|
|
|
pyproject = true;
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
disabled = pythonOlder "3.8";
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-07-27 06:49:29 +00:00
|
|
|
hash = "sha256-TkOvmy8hzu2NITeXAo/ogjAD8YW0l5Lk04MwI2XIFRU=";
|
2023-01-20 10:41:00 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ setuptools ];
|
2024-01-13 08:15:51 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
propagatedBuildInputs = [ pyyaml ];
|
2023-01-20 10:41:00 +00:00
|
|
|
|
|
|
|
pythonImportsCheck = [ "pyngrok" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python wrapper for ngrok";
|
2023-10-09 19:29:22 +00:00
|
|
|
homepage = "https://github.com/alexdlaird/pyngrok";
|
|
|
|
changelog = "https://github.com/alexdlaird/pyngrok/blob/${version}/CHANGELOG.md";
|
2023-01-20 10:41:00 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ wegank ];
|
|
|
|
};
|
|
|
|
}
|