1{ 2 buildPythonPackage, 3 configargparse, 4 fetchFromGitHub, 5 gevent, 6 hatch-vcs, 7 hatchling, 8 lib, 9 platformdirs, 10 python-engineio, 11 python-socketio, 12 requests, 13 tomli, 14}: 15 16buildPythonPackage rec { 17 pname = "locust-cloud"; 18 version = "1.27.0"; 19 pyproject = true; 20 21 src = fetchFromGitHub { 22 owner = "locustcloud"; 23 repo = "locust-cloud"; 24 tag = version; 25 hash = "sha256-K69VIyQggwWQQoMld0JpzmtJRQc6HYrKAGA6E9O69MQ="; 26 }; 27 28 build-system = [ 29 hatchling 30 hatch-vcs 31 ]; 32 33 dependencies = [ 34 configargparse 35 gevent 36 platformdirs 37 python-engineio 38 python-socketio 39 requests 40 tomli 41 ]; 42 43 meta = { 44 description = "Hosted version of Locust to run distributed load tests"; 45 homepage = "https://www.locust.cloud/"; 46 license = lib.licenses.mit; 47 maintainers = with lib.maintainers; [ magicquark ]; 48 }; 49}