nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python313Packages.qbusmqttapi: 1.3.0 -> 1.4.2

Changelog: https://github.com/Qbus-iot/qbusmqttapi/releases/tag/v1.4.2

+18 -4
+18 -4
pkgs/development/python-modules/qbusmqttapi/default.nix
··· 2 2 buildPythonPackage, 3 3 fetchFromGitHub, 4 4 lib, 5 - setuptools, 5 + hatchling, 6 + aiohttp, 7 + yarl, 6 8 }: 7 9 8 10 buildPythonPackage rec { 9 11 pname = "qbusmqttapi"; 10 - version = "1.3.0"; 12 + version = "1.4.2"; 11 13 pyproject = true; 12 14 13 15 src = fetchFromGitHub { 14 16 owner = "Qbus-iot"; 15 17 repo = "qbusmqttapi"; 16 18 tag = "v${version}"; 17 - hash = "sha256-1Srp1FOnTw7TwE0OTY+q6R1d/M7/LH9leCUZMADE++Y="; 19 + hash = "sha256-8TNtfBxJcSwlcAgKF6Gvn+e4NGbOIE3JWBAgFKmNyKA="; 18 20 }; 19 21 20 - build-system = [ setuptools ]; 22 + postPatch = '' 23 + # Upstream uses a placeholder version in pyproject.toml 24 + substituteInPlace pyproject.toml \ 25 + --replace-fail '"0.0.0"' '"${version}"' 26 + ''; 27 + 28 + build-system = [ hatchling ]; 29 + 30 + dependencies = [ 31 + aiohttp 32 + yarl 33 + ]; 21 34 22 35 pythonImportsCheck = [ "qbusmqttapi" ]; 23 36 ··· 40 27 meta = { 41 28 description = "MQTT API for Qbus Home Automation"; 42 29 homepage = "https://github.com/Qbus-iot/qbusmqttapi"; 30 + changelog = "https://github.com/Qbus-iot/qbusmqttapi/releases/tag/${src.tag}"; 43 31 license = lib.licenses.mit; 44 32 maintainers = with lib.maintainers; [ dotlambda ]; 45 33 };