pytrainer: unpin python 3.10
[NixPkgs.git] / pkgs / development / python-modules / pyngrok / default.nix
blob7082611f6716c58727a183f46c9a88229c607d9c
2   lib,
3   buildPythonPackage,
4   pythonOlder,
5   fetchPypi,
6   setuptools,
7   pyyaml,
8 }:
10 buildPythonPackage rec {
11   pname = "pyngrok";
12   version = "7.2.0";
13   pyproject = true;
15   disabled = pythonOlder "3.8";
17   src = fetchPypi {
18     inherit pname version;
19     hash = "sha256-TkOvmy8hzu2NITeXAo/ogjAD8YW0l5Lk04MwI2XIFRU=";
20   };
22   nativeBuildInputs = [ setuptools ];
24   propagatedBuildInputs = [ pyyaml ];
26   pythonImportsCheck = [ "pyngrok" ];
28   meta = with lib; {
29     description = "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   };