Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / mullvad-closest / default.nix
blobc5d45dfd175187d6909b094d06c11e118ace1277
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     homepage = "https://github.com/Ch00k/mullvad-closest";
41     license = licenses.unlicense;
42     maintainers = with maintainers; [ siraben ];
43   };