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