default.nix (774B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 pytest-docker-fixtures, 6 }: 7 8 python3Packages.buildPythonPackage rec { 9 pname = "pytest-mqtt"; 10 version = "0.4.1"; 11 pyproject = true; 12 disabled = python3Packages.pythonOlder "3.7"; 13 14 src = fetchFromGitHub { 15 owner = "mqtt-tools"; 16 repo = "pytest-mqtt"; 17 rev = version; 18 hash = "sha256-DohQw10WCDlb9kJdMd9ql4mcELx4IhVSmoovLI6GI9k="; 19 }; 20 21 build-system = with python3Packages; [ setuptools ]; 22 23 dependencies = with python3Packages; [ 24 paho-mqtt 25 pytest-docker-fixtures 26 ]; 27 28 meta = { 29 description = "pytest-mqtt supports testing systems based on MQTT"; 30 homepage = "https://github.com/mqtt-tools/pytest-mqtt"; 31 license = lib.licenses.mit; 32 maintainers = [ lib.maintainers.sikmir ]; 33 }; 34 }