depot/third_party/nixpkgs/pkgs/development/python-modules/atomicwrites-homeassistant/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

32 lines
628 B
Nix

{
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 = with lib; {
description = "Atomic file writes";
homepage = "https://pypi.org/project/atomicwrites-homeassistant/";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}