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

python313Packages.velbus-aio: migrate to writableTmpDirAsHomeHook

+4 -6
+4 -6
pkgs/development/python-modules/velbus-aio/default.nix
··· 10 10 pytest-asyncio, 11 11 pytestCheckHook, 12 12 setuptools, 13 + writableTmpDirAsHomeHook, 13 14 }: 14 15 15 16 buildPythonPackage rec { ··· 18 17 version = "2025.5.0"; 19 18 pyproject = true; 20 19 21 - disabled = pythonOlder "3.7"; 20 + disabled = pythonOlder "3.9"; 22 21 23 22 src = fetchFromGitHub { 24 23 owner = "Cereal2nd"; ··· 40 39 nativeCheckInputs = [ 41 40 pytest-asyncio 42 41 pytestCheckHook 42 + writableTmpDirAsHomeHook 43 43 ]; 44 - 45 - preCheck = '' 46 - export HOME=$(mktemp -d) 47 - ''; 48 44 49 45 pythonImportsCheck = [ "velbusaio" ]; 50 46 ··· 49 51 description = "Python library to support the Velbus home automation system"; 50 52 homepage = "https://github.com/Cereal2nd/velbus-aio"; 51 53 changelog = "https://github.com/Cereal2nd/velbus-aio/releases/tag/${src.tag}"; 52 - license = with licenses; [ asl20 ]; 54 + license = licenses.asl20; 53 55 maintainers = with maintainers; [ fab ]; 54 56 }; 55 57 }