Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at lanzaboote 44 lines 860 B view raw
1{ lib 2, buildPythonPackage 3, setuptools 4, click 5, geopy 6, ping3 7, requests 8, tabulate 9, fetchFromGitHub 10}: 11 12buildPythonPackage rec { 13 pname = "mullvad-closest"; 14 version = "unstable-2023-07-09"; 15 format = "pyproject"; 16 17 src = fetchFromGitHub { 18 owner = "Ch00k"; 19 repo = "mullvad-closest"; 20 rev = "894d2075a520fcad238256725245030374693a16"; 21 hash = "sha256-scJiYjEmnDDElE5rHdPbnnuNjjRB0/X3vNGLoi2MAmo="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 ]; 27 28 propagatedBuildInputs = [ 29 click 30 geopy 31 ping3 32 requests 33 tabulate 34 ]; 35 36 pythonImportsCheck = [ "mullvad_closest" ]; 37 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 }; 44}