Unverified Commit e647fd4b authored by Ben Siraphob's avatar Ben Siraphob
Browse files

mullvad-closest: init at unstable-2023-07-09

parent 809effe6
Loading
Loading
Loading
Loading
+44 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, setuptools
, click
, geopy
, ping3
, requests
, tabulate
, fetchFromGitHub
}:

buildPythonPackage rec {
  pname = "mullvad-closest";
  version = "unstable-2023-07-09";
  format = "pyproject";

  src = fetchFromGitHub {
    owner = "Ch00k";
    repo = "mullvad-closest";
    rev = "894d2075a520fcad238256725245030374693a16";
    hash = "sha256-scJiYjEmnDDElE5rHdPbnnuNjjRB0/X3vNGLoi2MAmo=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    click
    geopy
    ping3
    requests
    tabulate
  ];

  pythonImportsCheck = [ "mullvad_closest" ];

  meta = with lib; {
    description = "Find Mullvad servers with the lowest latency at your location";
    homepage = "https://github.com/Ch00k/mullvad-closest";
    license = licenses.unlicense;
    maintainers = with maintainers; [ siraben ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -25957,6 +25957,8 @@ with pkgs;
  mullvad-browser = callPackage ../applications/networking/browsers/mullvad-browser { };
  mullvad-closest = with python3Packages; toPythonApplication mullvad-closest;
  mycorrhiza = callPackage ../servers/mycorrhiza { };
  napalm = with python3Packages; toPythonApplication (
+2 −0
Original line number Diff line number Diff line
@@ -6520,6 +6520,8 @@ self: super: with self; {

  mullvad-api = callPackage ../development/python-modules/mullvad-api { };

  mullvad-closest = callPackage ../development/python-modules/mullvad-closest { };

  mulpyplexer = callPackage ../development/python-modules/mulpyplexer { };

  multidict = callPackage ../development/python-modules/multidict { };