depot/third_party/nixpkgs/pkgs/development/python-modules/pyngrok/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

35 lines
736 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
setuptools,
pyyaml,
}:
buildPythonPackage rec {
pname = "pyngrok";
version = "7.1.6";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-BcD8pjQJE2WKvdxiOgpTknrO2T4n/++AHSSBS8sYDqo=";
};
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ pyyaml ];
pythonImportsCheck = [ "pyngrok" ];
meta = with lib; {
description = "Python wrapper for ngrok";
homepage = "https://github.com/alexdlaird/pyngrok";
changelog = "https://github.com/alexdlaird/pyngrok/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ wegank ];
};
}