depot/third_party/nixpkgs/pkgs/development/python-modules/pyngrok/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

38 lines
742 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 = "A 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 ];
};
}