depot/third_party/nixpkgs/pkgs/development/python-modules/atomicwrites-homeassistant/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

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