Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / mullvad-closest / default.nix
blob62537c244491a9d0e3a28ab1871171dd7bc8b746
1 { lib
2 , buildPythonPackage
3 , setuptools
4 , click
5 , geopy
6 , ping3
7 , requests
8 , tabulate
9 , fetchFromGitHub
12 buildPythonPackage rec {
13   pname = "mullvad-closest";
14   version = "unstable-2023-07-09";
15   format = "pyproject";
17   src = fetchFromGitHub {
18     owner = "Ch00k";
19     repo = "mullvad-closest";
20     rev = "894d2075a520fcad238256725245030374693a16";
21     hash = "sha256-scJiYjEmnDDElE5rHdPbnnuNjjRB0/X3vNGLoi2MAmo=";
22   };
24   nativeBuildInputs = [
25     setuptools
26   ];
28   propagatedBuildInputs = [
29     click
30     geopy
31     ping3
32     requests
33     tabulate
34   ];
36   pythonImportsCheck = [ "mullvad_closest" ];
38   meta = with lib; {
39     description = "Find Mullvad servers with the lowest latency at your location";
40     mainProgram = "mullvad-closest";
41     homepage = "https://github.com/Ch00k/mullvad-closest";
42     license = licenses.unlicense;
43     maintainers = with maintainers; [ siraben ];
44   };