1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pytestCheckHook, 6}: 7 8let 9 pname = "atomicwrites-homeassistant"; 10 version = "1.4.1"; 11in 12 13buildPythonPackage { 14 inherit pname version; 15 format = "setuptools"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-JWpnIQbxZ0VEUijZZiQLd7VfRqCW0gMFkBpXql0fTC8="; 20 }; 21 22 pythonImportsCheck = [ "atomicwrites" ]; 23 24 nativeCheckInputs = [ pytestCheckHook ]; 25 26 meta = with lib; { 27 description = "Atomic file writes"; 28 homepage = "https://pypi.org/project/atomicwrites-homeassistant/"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ hexa ]; 31 }; 32}