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