summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/atomicwrites-homeassistant/default.nix
blob: 7c7b1c87a056f03793aa63b45522a3c2ec798a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  pytestCheckHook,
}:

let
  pname = "atomicwrites-homeassistant";
  version = "1.4.1";
in

buildPythonPackage {
  inherit pname version;
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-JWpnIQbxZ0VEUijZZiQLd7VfRqCW0gMFkBpXql0fTC8=";
  };

  pythonImportsCheck = [ "atomicwrites" ];

  nativeCheckInputs = [ pytestCheckHook ];

  meta = {
    description = "Atomic file writes";
    homepage = "https://pypi.org/project/atomicwrites-homeassistant/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ hexa ];
  };
}